diff options
author | Arthur Kepner <akepner@sgi.com> | 2006-03-20 21:26:56 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-03-20 21:26:56 -0800 |
commit | 95ed63f791656fc19e36ae68bc328e367958c76b (patch) | |
tree | dbee5227c99677c35874e0b522f6b84df262cf63 /arch/m68k | |
parent | 4bf07ef3fd5db2df7d1899fcf9c67d2263ead2e2 (diff) | |
download | op-kernel-dev-95ed63f791656fc19e36ae68bc328e367958c76b.zip op-kernel-dev-95ed63f791656fc19e36ae68bc328e367958c76b.tar.gz |
[NET] pktgen: Fix races between control/worker threads.
There's a race in pktgen which can lead to a double
free of a pktgen_dev's skb. If a worker thread is in
the midst of doing fill_packet(), and the controlling
thread gets a "stop" message, the already freed skb
can be freed once again in pktgen_stop_device(). This
patch gives all responsibility for cleaning up a
pktgen_dev's skb to the associated worker thread.
Signed-off-by: Arthur Kepner <akepner@sgi.com>
Acked-by: Robert Olsson <Robert.Olsson@data.slu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/m68k')
0 files changed, 0 insertions, 0 deletions