[Bug 1712] Deleting a nft chain immediately after flushing references to it does not always work

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Oct 6 19:43:02 CEST 2023


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

--- Comment #2 from cwm at epust.dk ---
Thanks for looking into this so quickly!

It is the delete that fails. So your second test should be like this:

# cat file.txt
flush ruleset
table inet filter
add chain inet filter mychain1
add chain inet filter mychain2
add rule inet filter mychain2 ip daddr vmap { 1.1.1.1 : goto mychain1 }
# cat file1.txt
flush chain inet filter mychain2
delete chain inet filter mychain1
# nft -f file.txt
# nft -f file1.txt
file1.txt:2:1-34: Error: Could not process rule: Device or resource busy
delete chain inet filter mychain1
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

-- 
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/20231006/6e5d9d40/attachment.html>


More information about the netfilter-buglog mailing list