<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 - nft reset quotas does not reset anonymous quotas"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1314">1314</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft reset quotas does not reset anonymous quotas
          </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>normal
          </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>dlakelan@street-artists.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>supposing that I have a quota myquota then

meta mark 0x123 quota named myquota

will count the packets. and "nft reset quotas" will reset the quota

Suppose instead I want to use an anonymous quota to drop packets

meta mark 0x123 quota over 1500 mbytes drop

works, but "nft reset quotas" DOES NOT reset the quota. I can reset the quota
doing a complete reload "nft -f /etc/nftables.conf" for example.

This is on Debian: 

root@pico:~# cat /proc/version 
Linux version 4.19.0-1-amd64 (<a href="mailto:debian-kernel@lists.debian.org">debian-kernel@lists.debian.org</a>) (gcc version
8.2.0 (Debian 8.2.0-12)) #1 SMP Debian 4.19.9-1 (2018-12-16)

root@pico:~# nft --version
nftables v0.9.0 (Fearless Fosdick)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>