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>
Showing
- include/net/sock.h 1 addition, 1 deletioninclude/net/sock.h
- net/core/filter.c 2 additions, 2 deletionsnet/core/filter.c
- net/core/sock.c 1 addition, 1 deletionnet/core/sock.c
- net/ipv4/udp.c 1 addition, 1 deletionnet/ipv4/udp.c
- net/ipv6/raw.c 1 addition, 1 deletionnet/ipv6/raw.c
- net/ipv6/udp.c 1 addition, 1 deletionnet/ipv6/udp.c
Loading
Please register or sign in to comment