netfilter: nft_set: remove indirection from update API call
authorFlorian Westphal <fw@strlen.de>
Wed, 9 Jul 2025 17:05:14 +0000 (19:05 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 25 Jul 2025 16:40:23 +0000 (18:40 +0200)
commit531e61312104d991459af73c838396db26aa3550
treeeb7183cff47eccfbd99810d51ac39b1ff1f25e6f
parent17a20e09f086f2c574ac87f3cf6e14c4377f65f6
netfilter: nft_set: remove indirection from update API call

This stems from a time when sets and nft_dynset resided in different kernel
modules.  We can replace this with a direct call.

We could even remove both ->update and ->delete, given its only
supported by rhashtable, but on the off-chance we'll see runtime
add/delete for other types or a new set type keep that as-is for now.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_tables.h
include/net/netfilter/nf_tables_core.h
net/netfilter/nft_dynset.c
net/netfilter/nft_set_hash.c
net/netfilter/nft_set_pipapo_avx2.c