aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_lookup.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-07-08 14:41:49 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-07-11 12:16:04 +0200
commit42a55769132fdf4f44bac1471b371d7f80bcde35 (patch)
tree80fff458230062a4ac2ff8159386627e0c30b6db /net/netfilter/nft_lookup.c
parentnetfilter: constify arg to is_dying/confirmed (diff)
downloadlinux-dev-42a55769132fdf4f44bac1471b371d7f80bcde35.tar.xz
linux-dev-42a55769132fdf4f44bac1471b371d7f80bcde35.zip
netfilter: nf_tables: get rid of possible_net_t from set and basechain
We can pass the netns pointer as parameter to the functions that need to gain access to it. From basechains, I didn't find any client for this field anymore so let's remove this too. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_lookup.c')
-rw-r--r--net/netfilter/nft_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nft_lookup.c b/net/netfilter/nft_lookup.c
index b8d18f598569..e164325d1bc0 100644
--- a/net/netfilter/nft_lookup.c
+++ b/net/netfilter/nft_lookup.c
@@ -35,7 +35,7 @@ static void nft_lookup_eval(const struct nft_expr *expr,
const struct nft_set_ext *ext;
bool found;
- found = set->ops->lookup(set, &regs->data[priv->sreg], &ext) ^
+ found = set->ops->lookup(pkt->net, set, &regs->data[priv->sreg], &ext) ^
priv->invert;
if (!found) {