]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: Keep nft_handle pointer in nft_xt_ctx
authorPhil Sutter <phil@nwl.cc>
Tue, 20 Aug 2019 22:19:25 +0000 (00:19 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 25 Nov 2019 22:30:58 +0000 (23:30 +0100)
commit441d80c4cfa713b8261947a2cb0e780537454e71
treea5d9e0f42a46a2b858e06731a3802bcc54c71d6f
parent1e8ef6a5847549af6fa2edc4fd642cf259ef2ba1
nft: Keep nft_handle pointer in nft_xt_ctx

Instead of carrying the family value, carry the handle (which contains
the family value) and relieve expression parsers from having to call
nft_family_ops_lookup().

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