aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2021-06-22 11:45:11 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2021-06-22 12:08:04 +0200
commit534799097a777e82910f77a4f9d289c815a9a64e (patch)
tree4a8caed4c70f7951d9c3a45b8ac6fc3d074ba9d1 /tools/perf/scripts/python/syscall-counts.py
parentea45fdf82cc90430bb7c280e5e53821e833782c5 (diff)
netfilter: nf_tables: skip netlink portID validation if zero
nft_table_lookup() allows us to obtain the table object by the name and the family. The netlink portID validation needs to be skipped for the dump path, since the ownership only applies to commands to update the given table. Skip validation if the specified netlink PortID is zero when calling nft_table_lookup(). Fixes: 6001a930ce03 ("netfilter: nftables: introduce table ownership") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions