netfilter: Remove explicit rcu_read_lock in nf_hook_slow
authorAaron Conole <aconole@bytheb.org>
Wed, 21 Sep 2016 15:35:04 +0000 (11:35 -0400)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 24 Sep 2016 19:29:53 +0000 (21:29 +0200)
commite2361cb90a0327bdab34d01d1a7b9dbd67c31e60
treed7f8b55fd607e5cb1c0018fa8f1f79d6038d17b3
parent2c1e2703ff812ccaa42a4bc8a25803955e342b85
netfilter: Remove explicit rcu_read_lock in nf_hook_slow

All of the callers of nf_hook_slow already hold the rcu_read_lock, so this
cleanup removes the recursive call.  This is just a cleanup, as the locking
code gracefully handles this situation.

Signed-off-by: Aaron Conole <aconole@bytheb.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
14 files changed:
net/bridge/netfilter/ebt_redirect.c
net/bridge/netfilter/ebtables.c
net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c
net/ipv4/netfilter/nf_conntrack_proto_icmp.c
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c
net/ipv6/netfilter/nf_conntrack_proto_icmpv6.c
net/netfilter/core.c
net/netfilter/nf_conntrack_core.c
net/netfilter/nf_conntrack_h323_main.c
net/netfilter/nf_conntrack_helper.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/netfilter/xt_helper.c