<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - nft add element fails when preceded by nft get element or nft delete element commands"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1451#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - nft add element fails when preceded by nft get element or nft delete element commands"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1451">bug 1451</a>
from <span class="vcard"><a class="email" href="mailto:kfm@plushkava.net" title="kfm@plushkava.net">kfm@plushkava.net</a>
</span></b>
<pre>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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>