netfilter: nfnetlink: pass down netns pointer to call() and call_rcu()
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 15 Dec 2015 17:41:56 +0000 (18:41 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Dec 2015 17:41:41 +0000 (18:41 +0100)
commit7b8002a1511fcbcb0596cac90d67ad5c8182d0aa
tree5201e4e33876ffd227da07e41c6b1984508c0bb9
parentf4c756b4ea7d2921391febcaed4ce2511872a0e1
netfilter: nfnetlink: pass down netns pointer to call() and call_rcu()

Adapt callsites to avoid recurrent lookup of the netns pointer.

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
12 files changed:
include/linux/netfilter/nfnetlink.h
net/netfilter/ipset/ip_set_core.c
net/netfilter/nf_conntrack_netlink.c
net/netfilter/nf_tables_api.c
net/netfilter/nfnetlink.c
net/netfilter/nfnetlink_acct.c
net/netfilter/nfnetlink_cthelper.c
net/netfilter/nfnetlink_cttimeout.c
net/netfilter/nfnetlink_log.c
net/netfilter/nfnetlink_queue.c
net/netfilter/nft_compat.c
net/netfilter/xt_osf.c