]> git.ipfire.org Git - thirdparty/iptables.git/commit
nft: remove cache build calls
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Jan 2020 12:20:16 +0000 (13:20 +0100)
committerPhil Sutter <phil@nwl.cc>
Mon, 11 May 2020 12:28:28 +0000 (14:28 +0200)
commit80251bc2a56ed612188393a1e588c661ebd43da5
treeea820f96f90b737250a86edcbd72c32d90eeaeaf
parent59e80a8e50148c31be71a984a03456800f179123
nft: remove cache build calls

The cache requirements are now calculated once from the parsing phase.
There is no need to call __nft_build_cache() from several spots in the
codepath anymore.

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