aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nft_lookup.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-03-07 19:08:31 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2014-03-08 12:35:18 +0100
commitab9da5c19f359f9ac2635157d9cd45deec4ef63c (patch)
treee39e045f4b5da765cf8ebccc7a3acda8d8b7ab8d /net/netfilter/nft_lookup.c
parent62472bcefb56ae9c3a6be3284949ce758656cdec (diff)
downloadlinux-ab9da5c19f359f9ac2635157d9cd45deec4ef63c.tar.gz
netfilter: nf_tables: restore notifications for anonymous set destruction
Since we have the context available again, we can restore notifications for destruction of anonymous sets. Signed-off-by: Patrick McHardy <kaber@trash.net> 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 953978e8f0bac..7fd2bea8aa239 100644
--- a/net/netfilter/nft_lookup.c
+++ b/net/netfilter/nft_lookup.c
@@ -94,7 +94,7 @@ static void nft_lookup_destroy(const struct nft_ctx *ctx,
{
struct nft_lookup *priv = nft_expr_priv(expr);
- nf_tables_unbind_set(NULL, priv->set, &priv->binding);
+ nf_tables_unbind_set(ctx, priv->set, &priv->binding);
}
static int nft_lookup_dump(struct sk_buff *skb, const struct nft_expr *expr)