Commit 2b43f811 authored by Ivan Delalande's avatar Ivan Delalande Committed by sanglipeng
Browse files

netfilter: ctnetlink: revert to dumping mark regardless of event type

stable inclusion
from stable-v5.10.175
commit 26fa059cc92477c5fb16ef5bdca3b75997ddf95c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8711T

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=26fa059cc92477c5fb16ef5bdca3b75997ddf95c



--------------------------------

[ Upstream commit 9f7dd42f ]

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: 1feeae07 ("netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark")
Signed-off-by: default avatarIvan Delalande <colona@arista.com>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e1f0953b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment