diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-01-18 18:30:07 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-02-08 14:16:18 +0100 |
commit | 5cb82a38c6b5152b1deaba0c1596ce63222a4710 (patch) | |
tree | 4db9ca61c200bd5ebfad723272b1bb3a607af485 /net/netfilter/nft_set_hash.c | |
parent | c078ca3b0c5bf82c2b31906c446d6e2ad8ea0783 (diff) | |
download | op-kernel-dev-5cb82a38c6b5152b1deaba0c1596ce63222a4710.zip op-kernel-dev-5cb82a38c6b5152b1deaba0c1596ce63222a4710.tar.gz |
netfilter: nf_tables: pass netns to set->ops->remove()
This new parameter is required by the new bitmap set type that comes in a
follow up patch.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nft_set_hash.c')
-rw-r--r-- | net/netfilter/nft_set_hash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/netfilter/nft_set_hash.c b/net/netfilter/nft_set_hash.c index e36069f..bb157bd4 100644 --- a/net/netfilter/nft_set_hash.c +++ b/net/netfilter/nft_set_hash.c @@ -203,7 +203,8 @@ static void *nft_hash_deactivate(const struct net *net, return he; } -static void nft_hash_remove(const struct nft_set *set, +static void nft_hash_remove(const struct net *net, + const struct nft_set *set, const struct nft_set_elem *elem) { struct nft_hash *priv = nft_set_priv(set); |