summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2018-11-04 14:07:14 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-12 18:13:35 +0300
commit447750f281abef547be44fdcfe3bc4447b3115a8 (patch)
treec1594fd1620fdf8115d90af32e52d2a11a86d1cf /tools/perf/scripts/python
parent25d8bcedbf4329895dbaf9dd67baa6f18dad918c (diff)
downloadlinux-447750f281abef547be44fdcfe3bc4447b3115a8.tar.xz
netfilter: nf_tables: don't use position attribute on rule replacement
Its possible to set both HANDLE and POSITION when replacing a rule. In this case, the rule at POSITION gets replaced using the userspace-provided handle. Rule handles are supposed to be generated by the kernel only. Duplicate handles should be harmless, however better disable this "feature" by only checking for the POSITION attribute on insert operations. Fixes: 5e94846686d0 ("netfilter: nf_tables: add insert operation") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions