<html>
<head>
<base href="https://bugzilla.netfilter.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Some filters randomly do not work since version 0.8"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1201#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Some filters randomly do not work since version 0.8"
href="https://bugzilla.netfilter.org/show_bug.cgi?id=1201">bug 1201</a>
from <span class="vcard"><a class="email" href="mailto:sautier.louis@gmail.com" title="Louis Sautier <sautier.louis@gmail.com>"> <span class="fn">Louis Sautier</span></a>
</span></b>
<pre>I compiled v0.8 but the offending commit and I don't have the issue any more.
If anyone runs into the same issue, they can apply this patch instead of
downgrading:
diff --git a/src/netlink.c b/src/netlink.c
index 2882190..59e8918 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -1293,8 +1293,6 @@ static int netlink_add_set_batch(struct netlink_ctx *ctx,
if (set->desc.size != 0)
nftnl_set_set_u32(nls, NFTNL_SET_DESC_SIZE,
set->desc.size);
- } else if (set->init) {
- nftnl_set_set_u32(nls, NFTNL_SET_DESC_SIZE, set->init->size);
}
udbuf = nftnl_udata_buf_alloc(NFT_USERDATA_MAXLEN);</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>