<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Inefficient command lookup on errors"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1426#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Inefficient command lookup on errors"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1426">bug 1426</a>
from <span class="vcard"><a class="email" href="mailto:pablo@netfilter.org" title="Pablo Neira Ayuso <pablo@netfilter.org>"> <span class="fn">Pablo Neira Ayuso</span></a>
</span></b>
<pre>Patch is applied, thanks.
I observe a real gain (much faster speedup) if
struct {
uint16_t offset;
struct location *location;
} attr[NFT_NLATTR_LOC_MAX];
in struct cmd is translated to use a hashtable, probably using the command
sequence number and the offset as key and importing the jhash() into the tree
(like in the conntrack-tools).</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>