commit | a5877a214b6bb2e16ffbbcfd7512ff5cdbf03906 | [log] [tgz] |
---|---|---|
author | Phil Sutter <phil@nwl.cc> | Wed Aug 21 10:42:19 2019 +0200 |
committer | Phil Sutter <phil@nwl.cc> | Mon Nov 25 23:31:00 2019 +0100 |
tree | 7b1be339190ff4b82b9c5c830a06390266e811b2 | |
parent | 441d80c4cfa713b8261947a2cb0e780537454e71 [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>