netfilter: nf_tables: move struct net pointer to base chain
authorPatrick McHardy <kaber@trash.net>
Sat, 21 Mar 2015 15:19:15 +0000 (15:19 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Mar 2015 11:09:38 +0000 (12:09 +0100)
commit5ebb335dcbe63470c88c4f80f2d571089543b638
tree92475f2f78434af4101ffe54c52dce51f76fb1a4
parent0144a81cccf7532bead90f0542f517bd028d3b3c
netfilter: nf_tables: move struct net pointer to base chain

The network namespace is only needed for base chains to get at the
gencursor. Also convert to possible_net_t.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
net/netfilter/nf_tables_api.c
net/netfilter/nf_tables_core.c