linux/net
Dmitry Mishin fda9ef5d67 [NET]: Fix sk->sk_filter field access
Function sk_filter() is called from tcp_v{4,6}_rcv() functions with arg
needlock = 0, while socket is not locked at that moment. In order to avoid
this and similar issues in the future, use rcu for sk->sk_filter field read
protection.

Signed-off-by: Dmitry Mishin <dim@openvz.org>
Signed-off-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: Kirill Korotaev <dev@openvz.org>
2006-09-22 15:18:47 -07:00
..
802
8021q
appletalk
atm [NET]: Remove unnecessary config.h includes from net/ 2006-09-22 14:54:21 -07:00
ax25
bluetooth
bridge [NETFILTER] bridge: debug message fixes 2006-09-22 15:18:32 -07:00
core [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
dccp [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
decnet [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
econet
ethernet [ETH]: indentation and cleanup 2006-09-22 14:55:09 -07:00
ieee80211 [CRYPTO] users: Use crypto_hash interface instead of crypto_digest 2006-09-21 11:46:21 +10:00
ipv4 [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
ipv6 [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
ipx [IPX]: Fix typo, ipxhdr() --> ipx_hdr() 2006-08-09 17:36:15 -07:00
irda
key [XFRM] POLICY: Support netlink socket interface for sub policy. 2006-09-22 15:08:35 -07:00
lapb
llc [LLC]: multicast receive device match 2006-08-13 18:56:26 -07:00
netfilter [NETFILTER]: xt_CONNMARK.c build fix 2006-09-22 15:18:27 -07:00
netlabel [NetLabel]: add some missing #includes to various header files 2006-09-22 15:18:39 -07:00
netlink [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation 2006-09-22 15:18:25 -07:00
netrom
packet [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
rose
rxrpc
sched [PKT_SCHED] act_simple.c: make struct simp_hash_info static 2006-09-22 15:18:40 -07:00
sctp [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
sunrpc [SUNRPC]: Remove the unnecessary check for highmem in xs_sendpages(). 2006-09-22 14:54:16 -07:00
tipc
unix [AF_UNIX]: Change max_dgram_qlen sysctl to __read_mostly 2006-09-22 15:18:42 -07:00
wanrouter
x25
xfrm [XFRM] STATE: Fix flusing with hash mask. 2006-09-22 15:18:45 -07:00
Kconfig [NET]: Protocol Independant Policy Routing Rules Framework 2006-09-22 14:53:40 -07:00
Makefile [NetLabel]: core NetLabel subsystem 2006-09-22 14:53:34 -07:00
TUNABLE
compat.c
nonet.c
socket.c [NET]: Change somaxconn sysctl to __read_mostly 2006-09-22 15:18:41 -07:00
sysctl_net.c