diff options
author | 2017-01-18 18:30:07 +0100 | |
---|---|---|
committer | 2017-02-08 14:16:18 +0100 | |
commit | 5cb82a38c6b5152b1deaba0c1596ce63222a4710 (patch) | |
tree | 4db9ca61c200bd5ebfad723272b1bb3a607af485 /net/netfilter/nft_set_hash.c | |
parent | netfilter: nft_exthdr: Add support for existence check (diff) | |
download | wireguard-linux-5cb82a38c6b5152b1deaba0c1596ce63222a4710.tar.xz wireguard-linux-5cb82a38c6b5152b1deaba0c1596ce63222a4710.zip |
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 e36069fb76ae..bb157bd47fe8 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); |