netfilter: core: add missing __rcu annotation
authorFlorian Westphal <fw@strlen.de>
Fri, 4 May 2018 16:16:06 +0000 (18:16 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Tue, 8 May 2018 12:15:30 +0000 (14:15 +0200)
commit25fd386e0bc065849db7400f579e82863ea44838
tree7de5ccd4c23e63ec23040d1737ca818867228774
parentd5e032fc5697b6c0d6b4958bcacb981a08f8174e
netfilter: core: add missing __rcu annotation

removes following sparse error:
net/netfilter/core.c:598:30: warning: incorrect type in argument 1 (different address spaces)
net/netfilter/core.c:598:30:    expected struct nf_hook_entries **e
net/netfilter/core.c:598:30:    got struct nf_hook_entries [noderef] <asn:4>**<noident>

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/core.c