netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
stable inclusion from stable-v5.10.159 commit b46e8c50c38648617eddf07f8a031acfce6f3d1f category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I7NTXH Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b46e8c50c38648617eddf07f8a031acfce6f3d1f -------------------------------- [ Upstream commit 1feeae07 ] All warnings (new ones prefixed by >>): net/netfilter/nf_conntrack_netlink.c: In function '__ctnetlink_glue_build': >> net/netfilter/nf_conntrack_netlink.c:2674:13: warning: unused variable 'mark' [-Wunused-variable] 2674 | u32 mark; | ^~~~ Fixes: 52d1aa8b ("netfilter: conntrack: Fix data-races around ct mark") Reported-by: Nkernel test robot <lkp@intel.com> Tested-by: NIvan Babrou <ivan@ivan.computer> Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: Nsanglipeng <sanglipeng1@jd.com> (cherry picked from commit 9708125c)
Showing
想要评论请 注册 或 登录