net: add __rcu annotations to protocol
authorEric Dumazet <eric.dumazet@gmail.com>
Mon, 25 Oct 2010 21:02:28 +0000 (21:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Oct 2010 18:37:31 +0000 (11:37 -0700)
Add __rcu annotations to :
        struct net_protocol *inet_protos
        struct net_protocol *inet6_protos

And use appropriate casts 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>

No differences found