Arthur Kepner 95ed63f791 [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>
2006-03-20 21:26:56 -08:00
..
2006-02-13 15:38:42 -08:00
2006-03-19 13:20:06 -08:00
2006-03-20 19:15:29 -08:00
2006-01-11 18:42:14 -08:00
2006-02-09 16:59:48 -08:00
2006-03-20 19:16:12 -08:00
2005-08-29 15:31:14 -07:00
2006-01-11 18:42:14 -08:00
2006-01-17 13:03:54 -08:00
2006-03-08 14:14:01 -08:00
2006-01-11 18:42:14 -08:00
2006-03-20 19:18:52 -08:00
2005-09-08 08:14:11 -07:00
2006-02-07 01:47:12 -05:00
2006-01-12 14:06:31 -08:00
2006-01-03 13:11:17 -08:00