android_kernel_xiaomi_sm8350/net/core
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
..
datagram.c [NET]: Revert skb_copy_datagram_iovec() recursion elimination. 2006-02-13 16:06:10 -08:00
dev_mcast.c [NET]: Remove more unneeded typecasts on *malloc() 2006-01-11 16:32:14 -08:00
dev.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
dst.c [PATCH] timer initialization cleanup: DEFINE_TIMER 2005-09-09 14:03:48 -07:00
dv.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
ethtool.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
filter.c [NET]: more whitespace issues in net/core/filter.c 2006-01-23 16:26:16 -08:00
flow.c [LSM-IPSec]: Security association restriction. 2006-01-03 13:10:24 -08:00
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
Makefile [PATCH] net/: fix the WIRELESS_EXT abuse 2006-01-30 20:35:30 -05:00
neighbour.c [NET]: NEIGHBOUR: Ensure to record time to neigh->updated when neighbour's state changed. 2006-03-20 16:52:52 -08:00
net-sysfs.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
netpoll.c [NET]: Use is_zero_ether_addr() in net/core/netpoll.c 2006-01-17 15:15:38 -08:00
pktgen.c [NET] pktgen: Fix races between control/worker threads. 2006-03-20 21:26:56 -08:00
request_sock.c [REQSK]: Don't reset rskq_defer_accept in reqsk_queue_alloc 2006-02-27 13:30:43 -08:00
rtnetlink.c [NET] core: add RFC2863 operstate 2006-03-20 17:09:11 -08:00
scm.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
skbuff.c [NET]: NETFILTER: remove duplicated lines and fix order in skb_clone(). 2006-02-19 22:32:06 -08:00
sock.c [PATCH] capable/capability.h (net/) 2006-01-11 18:42:14 -08:00
stream.c [NET]: Avoid atomic xchg() for non-error case 2006-01-03 13:10:44 -08:00
sysctl_net_core.c [IPSEC]: Sync series - core changes 2006-03-20 19:15:11 -08:00
utils.c [PATCH] percpu data: only iterate over possible CPUs 2006-02-05 11:06:51 -08:00
wireless.c Fix net/core/wireless.c link failure 2006-01-10 19:35:19 -08:00