]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark
authorPablo Neira Ayuso <pablo@netfilter.org>
Mon, 28 Nov 2022 09:58:53 +0000 (10:58 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 30 Nov 2022 12:08:49 +0000 (13:08 +0100)
commit1feeae071507ad65cf9f462a1bdd543a4bf89e71
treea61640b4cbff36a3271ecd261c3d54974cd0a04a
parent9464d0b68f11a9bc768370c3260ec02b3550447b
netfilter: ctnetlink: fix compilation warning after data race fixes in ct mark

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: 52d1aa8b8249 ("netfilter: conntrack: Fix data-races around ct mark")
Reported-by: kernel test robot <lkp@intel.com>
Tested-by: Ivan Babrou <ivan@ivan.computer>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_netlink.c