[Bug 1201] Some filters randomly do not work since version 0.8

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Thu Nov 9 15:20:08 CET 2017


https://bugzilla.netfilter.org/show_bug.cgi?id=1201

--- Comment #2 from Louis Sautier <sautier.louis at gmail.com> ---
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);

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20171109/1feda06a/attachment.html>


More information about the netfilter-buglog mailing list