netfilter: ctnetlink: revert to dumping mark regardless of event type
authorIvan Delalande <colona@arista.com>
Fri, 3 Mar 2023 01:48:31 +0000 (17:48 -0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 6 Mar 2023 11:09:23 +0000 (12:09 +0100)
commit9f7dd42f0db1dc6915a52d4a8a96ca18dd8cc34e
tree3ba34acd0c0ce9f719d32086f3fabf1cf6909b01
parent528125268588a18a2f257002af051b62b14bb282
netfilter: ctnetlink: revert to dumping mark regardless of event type

It seems that change was unintentional, we have userspace code that
needs the mark while listening for events like REPLY, DESTROY, etc.
Also include 0-marks in requested dumps, as they were before that fix.

Fixes: 1feeae071507 ("netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark")
Signed-off-by: Ivan Delalande <colona@arista.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c