<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 - Support 'nft flush set'"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1100">1100</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Support 'nft flush set'
          </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>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </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>phil@nwl.cc
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Trying to flush a set just like one would (successfully) with a chain or table
feels natural but sadly is not supported at all:

$ sudo ./git/nftables/src/nft flush set inet filter blacklist6 
BUG: invalid command object type 2
nft: rule.c:1245: do_command_flush: Assertion `0' failed.
zsh: abort      sudo ./git/nftables/src/nft flush set inet filter blacklist6

Although the output reads 'BUG', this is actually not - it's merely an
unimplemented feature.

Others seem to have gone through quite some pain in order to work around this
limitation:

<a href="https://www.spinics.net/lists/netfilter-devel/msg44240.html">https://www.spinics.net/lists/netfilter-devel/msg44240.html</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>