summaryrefslogtreecommitdiffstats
path: root/iptables/nft-cache.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2019-08-21 10:42:19 +0200
committerPhil Sutter <phil@nwl.cc>2019-11-25 23:31:00 +0100
commita5877a214b6bb2e16ffbbcfd7512ff5cdbf03906 (patch)
tree7b1be339190ff4b82b9c5c830a06390266e811b2 /iptables/nft-cache.h
parent441d80c4cfa713b8261947a2cb0e780537454e71 (diff)
nft: Eliminate pointless calls to nft_family_ops_lookup()
If nft_handle is available, use its 'ops' field instead of performing a new lookup. For the same reason, there is no need to pass ops pointer to __nft_print_header(). Signed-off-by: Phil Sutter <phil@nwl.cc> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/nft-cache.h')
0 files changed, 0 insertions, 0 deletions