]> git.baikalelectronics.ru Git - kernel.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)
commitc02b11291e20811c153b7065b984f994e0a1fe52
treeb170122c08d47be35a056782be54573ba19fe0b0
parent84f8aac6b2ecddbaab1cfbc97f5a6ebf22b82f16
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