[Bug 1451] nft add element fails when preceded by nft get element or nft delete element commands

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Mon Aug 24 04:09:49 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1451

--- Comment #4 from kfm at plushkava.net ---
I tried to reproduce the issue with nftables-0.9.6, libnftnl-1.1.7 and Linux
5.7.17 but haven't been able to do so far. I tested with a set whose
declaration consists of only "type ipv4_addr". I then generated 1000 random
IPv4 addresses and wrote a tiny script to add them, one per invocation of nft,
as you do.

Curiously, I'm finding that adding an element that already exists elicits no
error, a phenonmenon also mentioned in the linked bug. Preceding the command
that adds with one that gets doesn't adversely affect the process either.

Does your set declaration contain anything other than the type?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200824/4008a7c9/attachment.html>


More information about the netfilter-buglog mailing list