diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-10-18 22:23:35 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-10-24 13:37:46 +0200 |
commit | 078996fcd657e6e0c3a72b7d5806d04c32e74250 (patch) | |
tree | d4dadb34eeb9af587b17ec535e64253ed9f7e938 /include/net | |
parent | 0e1ea651c9717ddcd8e0648d8468477a31867b0a (diff) | |
download | lwn-078996fcd657e6e0c3a72b7d5806d04c32e74250.tar.gz lwn-078996fcd657e6e0c3a72b7d5806d04c32e74250.zip |
netfilter: nf_tables: set->ops->insert returns opaque set element in case of EEXIST
Return struct nft_elem_priv instead of struct nft_set_ext for
consistency with ("netfilter: nf_tables: expose opaque set element as
struct nft_elem_priv") and to prepare the introduction of element
timeout updates from control path.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index b63f35fb2a99..3bbd13ab1ecf 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -451,7 +451,7 @@ struct nft_set_ops { int (*insert)(const struct net *net, const struct nft_set *set, const struct nft_set_elem *elem, - struct nft_set_ext **ext); + struct nft_elem_priv **priv); void (*activate)(const struct net *net, const struct nft_set *set, struct nft_elem_priv *elem_priv); |