<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - flush set not working: "Could not process rule: Invalid argument""
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1329">1329</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>flush set not working: "Could not process rule: Invalid argument"
</td>
</tr>
<tr>
<th>Product</th>
<td>nftables
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86_64
</td>
</tr>
<tr>
<th>OS</th>
<td>Debian GNU/Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>P5
</td>
</tr>
<tr>
<th>Component</th>
<td>nft
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pablo@netfilter.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>email@cs-ware.de
</td>
</tr></table>
<p>
<div>
<pre># nft -i
nft> add table inet filter
nft> add set inet filter someset { type ipv4_addr; }
nft> add element inet filter someset { 1.1.1.1 }
nft> list ruleset
table inet filter {
set someset {
type ipv4_addr
elements = { 1.1.1.1 }
}
}
nft> flush set inet filter someset
Error: Could not process rule: Invalid argument
flush set inet filter someset
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# nft --version
nftables v0.7 (Scrooge McDuck)
and also verified with
# nft --version
nftables v0.9.0 (Fearless Fosdick)
# cat /proc/version
Linux version 4.9.0-8-amd64 (<a href="mailto:debian-kernel@lists.debian.org">debian-kernel@lists.debian.org</a>) (gcc version 6.3.0
20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.144-3 (2019-02-02)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>