summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2026-02-06 13:33:43 +0100
committerFlorian Westphal <fw@strlen.de>2026-02-06 13:36:07 +0100
commit7f9203f41aae8eea74fba6a3370da41332eabcda (patch)
tree49aa70d9d19f1319a02fc98d0edb1a2bb0d84eae /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent1e13f27e0675552161ab1778be9a23a636dde8a7 (diff)
netfilter: nft_set_rbtree: fix bogus EEXIST with NLM_F_CREATE with null interval
Userspace adds a non-matching null element to the kernel for historical reasons. This null element is added when the set is populated with elements. Inclusion of this element is conditional, therefore, userspace needs to dump the set content to check for its presence. If the NLM_F_CREATE flag is turned on, this becomes an issue because kernel bogusly reports EEXIST. Add special case to ignore NLM_F_CREATE in this case, therefore, re-adding the nul-element never fails. Fixes: c016c7e45ddf ("netfilter: nf_tables: honor NLM_F_EXCL flag in set element insertion") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions