linux/net
Eric Dumazet d69bbf88c8 net: fix a race in dst_release()
Only cpu seeing dst refcount going to 0 can safely
dereference dst->flags.

Otherwise an other cpu might already have freed the dst.

Fixes: 27b75c95f1 ("net: avoid RCU for NOCACHE dst")
Reported-by: Greg Thelen <gthelen@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-11-09 21:55:48 -05:00
..
6lowpan
9p
802
8021q vlan: Invoke driver vlan hooks only if device is present 2015-11-03 11:29:56 -05:00
appletalk
atm
ax25
batman-adv
bluetooth Bluetooth: L2CAP: Add missing checks for invalid LE DCID 2015-11-05 04:04:15 +01:00
bridge
caif
can
ceph
core net: fix a race in dst_release() 2015-11-09 21:55:48 -05:00
dcb
dccp
decnet
dns_resolver
dsa
ethernet
hsr
ieee802154 net: fix percpu memory leaks 2015-11-02 22:47:14 -05:00
ipv4 tcp: use correct req pointer in tcp_move_syn() calls 2015-11-05 15:57:51 -05:00
ipv6 tcp: use correct req pointer in tcp_move_syn() calls 2015-11-05 15:57:51 -05:00
ipx
irda irda: Delete an unnecessary check before the function call "irlmp_unregister_service" 2015-11-03 13:30:47 -05:00
iucv
key
l2tp
l3mdev
lapb
llc
mac80211 mac80211: document sleep requirements for channel context ops 2015-11-03 11:15:48 +01:00
mac802154
mpls
netfilter netfilter: nft_meta: use skb_to_full_sk() helper 2015-11-08 20:56:39 -05:00
netlabel
netlink
netrom
nfc
openvswitch
packet packet: race condition in packet_bind 2015-11-05 14:48:42 -05:00
phonet
rds
rfkill
rose
rxrpc
sched net_sched: em_meta: use skb_to_full_sk() helper 2015-11-08 20:56:39 -05:00
sctp
sunrpc
switchdev switchdev: respect SKIP_EOPNOTSUPP flag in case there is no recursion 2015-11-03 13:39:21 -05:00
tipc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-11-03 13:41:45 -05:00
unix
vmw_vsock VSOCK: call sk->sk_data_ready() on accept() 2015-11-04 22:03:10 -05:00
wimax
wireless cfg80211: allow AID/listen interval changes for unassociated station 2015-11-03 11:20:29 +01:00
x25
xfrm
compat.c
Kconfig
Makefile
socket.c
sysctl_net.c