bugzilla-daemon at netfilter.org
2016-Oct-13 17:11 UTC
[Bug 1091] New: named set with flag interval: delete multiple items in one command bug
https://bugzilla.netfilter.org/show_bug.cgi?id=1091
Bug ID: 1091
Summary: named set with flag interval: delete multiple items in
one command bug
Product: nftables
Version: unspecified
Hardware: x86_64
OS: Gentoo
Status: NEW
Severity: major
Priority: P5
Component: kernel
Assignee: pablo at netfilter.org
Reporter: karel at unitednetworks.cz
Created attachment 482
--> https://bugzilla.netfilter.org/attachment.cgi?id=482&action=edit
Proof of bug script
System:
Gentoo AMD64, kernel 4.8.1
nft, libmnl, libnftnl compiled from git (as of 13.10.2016)
When adding IPv4 addresses one by one to set { type ipv4_addr; flags interval;
}, then deleting them all in one command, then adding them one by one again to
emptied set, some IPv4 addresses are shown as already in set, but they are not.
Without flags interval everything is ok. Or when deleting IPv4 addresses one by
one too, everything is ok.
It looks like some inconsistency in interval handling when deleting multiple
items in one command.
Example shell script is attached.
--
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/20161013/9a9b169e/attachment.html>
bugzilla-daemon at netfilter.org
2016-Nov-24 13:25 UTC
[Bug 1091] named set with flag interval: delete multiple items in one command bug
https://bugzilla.netfilter.org/show_bug.cgi?id=1091
Karel Rericha <karel at unitednetworks.cz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Karel Rericha <karel at unitednetworks.cz> ---
Tested kernel 4.9_rc6 with recent nft from git and it is already fixed.
--
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/20161124/57741dc5/attachment.html>
Possibly Parallel Threads
- [Bug 1190] New: adding element to map with stateful object and flag interval raise SIGSEGV
- [Bug 1184] New: disable implicit concatenating of elements of sets with flag interval
- [Bug 1185] New: counter flag proposal for sets and maps
- [Bug 1417] New: mapping to adjacent ranges is causing error in kernel 5.6, kernel 5.5 works fine
- [Bug 1382] New: nftables.py cmd leaking memory when ruleset contain mapping ip length to range with high limit 65535