aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-07-17 07:17:56 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2018-07-20 15:31:44 +0200
commitc6cc94df65c3174be92afbee638f11cbb5e606a7 (patch)
tree0c7c3a3de8183ffcb6b8c11718076a0a428fc5a8 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent9f8aac0be21ed5f99bd5ba0ff315d710737d1794 (diff)
netfilter: nf_tables: don't allow to rename to already-pending name
Its possible to rename two chains to the same name in one transaction: nft add chain t c1 nft add chain t c2 nft 'rename chain t c1 c3;rename chain t c2 c3' This creates two chains named 'c3'. Appears to be harmless, both chains can still be deleted both by name or handle, but, nevertheless, its a bug. Walk transaction log and also compare vs. the pending renames. Both chains can still be deleted, but nevertheless it is a bug as we don't allow to create chains with identical names, so we should prevent this from happening-by-rename too. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions