diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-07-08 14:41:49 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-07-11 12:16:04 +0200 |
commit | 42a55769132fdf4f44bac1471b371d7f80bcde35 (patch) | |
tree | 80fff458230062a4ac2ff8159386627e0c30b6db /net/netfilter/nft_lookup.c | |
parent | d51ed8367bcbbb06f4f4986d1ef7dc2480bed1ad (diff) | |
download | linux-stable-42a55769132fdf4f44bac1471b371d7f80bcde35.tar.gz linux-stable-42a55769132fdf4f44bac1471b371d7f80bcde35.tar.bz2 linux-stable-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.c | 2 |
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, ®s->data[priv->sreg], &ext) ^ + found = set->ops->lookup(pkt->net, set, ®s->data[priv->sreg], &ext) ^ priv->invert; if (!found) { |