<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 - Inefficient command lookup on errors"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1426">1426</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Inefficient command lookup on errors
          </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>makovick@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=592" name="attach_592" title="nft_netlink error path speedup patch">attachment 592</a> <a href="attachment.cgi?id=592&action=edit" title="nft_netlink error path speedup patch">[details]</a></span>
nft_netlink error path speedup patch

When nft_netlink() encounters an error, it looks up the offending command in
the command list, always starting from the list head. With long machine
generated nftables containing errors, this can take a very long time, making an
impression that nft locked up.

Because the command seqnums in the command list are monotonic, and so are
usually the error seqnums, this performance issue can be easily mitigated by
resetting the search position to the command list head only if the error seqnum
decreases.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>