]> bbs.cooldavid.org Git - net-next-2.6.git/commit
net: add __rcu annotation to sk_filter
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 25 Oct 2010 03:47:05 +0000 (03:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Oct 2010 21:18:28 +0000 (14:18 -0700)
commit0d7da9ddd9a4eb7808698d04b98bf9d62d02649b
treeb170122c08d47be35a056782be54573ba19fe0b0
parent1c87733d0682547050ccccb400cdac425fa43b39
net: add __rcu annotation to sk_filter

Add __rcu annotation to :
        (struct sock)->sk_filter

And use appropriate rcu primitives to reduce sparse warnings if
CONFIG_SPARSE_RCU_POINTER=y

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sock.h
net/core/filter.c
net/core/sock.c
net/ipv4/udp.c
net/ipv6/raw.c
net/ipv6/udp.c