diff options
author | 2025-01-09 18:31:32 +0100 | |
---|---|---|
committer | 2025-01-19 16:41:52 +0100 | |
commit | 2a67414a143e120527e17f8372f13d3b31eeb5a3 (patch) | |
tree | 91f5eade448daabf76d2c533d6d847c178c942db /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: br_netfilter: remove unused conditional and dead code (diff) | |
download | wireguard-linux-2a67414a143e120527e17f8372f13d3b31eeb5a3.tar.xz wireguard-linux-2a67414a143e120527e17f8372f13d3b31eeb5a3.zip |
netfilter: nf_tables: Flowtable hook's pf value never varies
When checking for duplicate hooks in nft_register_flowtable_net_hooks(),
comparing ops.pf value is pointless as it is always NFPROTO_NETDEV with
flowtable hooks.
Dropping the check leaves the search identical to the one in
nft_hook_list_find() so call that function instead of open coding.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions