]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Mar 2023 07:50:25 +0000 (08:50 +0100)
commit4458f73a477be06f7c314dd01c5f672a9f6af12e
tree173959693be6dc88c150dbac5665f0ba4d648bc3
parentcf305f745fdcf7152e1ef85a2a913ad7a62ed0c6
netfilter: ctnetlink: revert to dumping mark regardless of event type

[ Upstream commit 18fd4dc5223e260f9fad291750ffe4918b703ea0 ]

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: c7296b10ea6b ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_conntrack_netlink.c