<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 dies with an assertion of consumed > 0"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1406">1406</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>nft dies with an assertion of consumed > 0
          </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>Gentoo
          </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>kfm@plushkava.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm using nftables-0.9.3 with libnftnl-1.1.5. I am able to trigger the
assertion mentioned in the summary. Here's how. Firstly, load the following
ruleset:

flush ruleset
table ip metrics  {
    set servers {
        type ipv4_addr
    }
    chain egress {
        type filter hook prerouting priority filter - 1; policy accept;
        iifname != "igb0" ct original daddr @servers
    }
}

Next, try to list a table by any given name - even the "metrics" table itself:

# nft list table metrics
nft: netlink_delinearize.c:124: netlink_parse_concat_expr: Assertion `consumed
<span class="quote">> 0' failed.</span >
Aborted

I have noticed that the assertion can be avoided by remove the "ct original
daddr @servers" condition from the rule.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>