]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: family_ops: Pass nft_handle to 'add' callback
authorPhil Sutter <phil@nwl.cc>
Tue, 20 Aug 2019 13:15:19 +0000 (15:15 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 25 Nov 2019 22:30:40 +0000 (23:30 +0100)
commitd4d319cb0afdce06fb5e3fad5fe1cff4232bdbd6
treede2b9f6d91675fd18b2b5c0d8d821a1e7f5a62ca
parent7a373f6683afb799c8387bdec1da6a07e9e55b33
nft: family_ops: Pass nft_handle to 'add' callback

In order for add_match() to create anonymous sets when converting
xtables matches it needs access to nft handle. So pass it along from
callers of family ops' add callback.

Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
iptables/nft-arp.c
iptables/nft-bridge.c
iptables/nft-ipv4.c
iptables/nft-ipv6.c
iptables/nft-shared.h
iptables/nft.c
iptables/nft.h