linux/net/core
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
..
datagram.c [NET]: Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE 2006-09-22 14:53:53 -07:00
dev.c [NET] netdev: Check name length 2006-09-22 14:54:35 -07:00
dev_mcast.c [NET]: Remove unnecessary config.h includes from net/ 2006-09-22 14:54:21 -07:00
dst.c [NET]: add_timer -> mod_timer() in dst_run_gc() 2006-08-09 02:25:54 -07:00
dv.c
ethtool.c [NET] ethtool: fix oops by testing correct struct member 2006-07-17 12:54:40 -04:00
fib_rules.c [NETLINK]: Make use of NLA_STRING/NLA_NUL_STRING attribute validation 2006-09-22 15:18:25 -07:00
filter.c [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
flow.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Makefile [NET]: Protocol Independant Policy Routing Rules Framework 2006-09-22 14:53:40 -07:00
neighbour.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
net-sysfs.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
netevent.c [NET]: Network Event Notifier Mechanism. 2006-08-02 13:38:20 -07:00
netpoll.c [NET]: Replace CHECKSUM_HW by CHECKSUM_PARTIAL/CHECKSUM_COMPLETE 2006-09-22 14:53:53 -07:00
pktgen.c [PKTGEN]: Make sure skb->{nh,h} are initialized in fill_packet_ipv6() too. 2006-08-07 20:52:10 -07:00
request_sock.c
rtnetlink.c [RTNETLINK]: Fix typo causing wrong skb to be freed 2006-09-22 15:18:43 -07:00
scm.c
skbuff.c [NET]: Use SLAB_PANIC 2006-09-22 15:18:19 -07:00
sock.c [NET]: Fix sk->sk_filter field access 2006-09-22 15:18:47 -07:00
stream.c [NET]: fix __sk_stream_mem_reclaim 2006-07-12 17:58:53 -07:00
sysctl_net_core.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
user_dma.c [I/OAT]: net/core/user_dma.c should #include <net/netdma.h> 2006-07-21 14:49:49 -07:00
utils.c [NET] in6_pton: Kill errant printf statement. 2006-09-22 15:18:02 -07:00
wireless.c [WIRELESS]: Convert notifications to use rtnl_notify() 2006-09-22 14:55:00 -07:00