tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: c35bd4e428856ed8c1fae7f7dfa08a9141c153d1 commit: 52d1aa8b8249ff477aaa38b6f74a8ced780d079c [7841/10444] netfilter: conntrack: Fix data-races around ct mark config: i386-randconfig-a013 compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=52d1aa8b8249ff477aaa38b6f74a8ced780d079c git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout 52d1aa8b8249ff477aaa38b6f74a8ced780d079c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/netfilter/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> net/netfilter/nf_conntrack_netlink.c:2674:6: warning: unused variable 'mark' [-Wunused-variable] u32 mark; ^ 1 warning generated. vim +/mark +2674 net/netfilter/nf_conntrack_netlink.c 2669 2670 static int __ctnetlink_glue_build(struct sk_buff *skb, struct nf_conn *ct) 2671 { 2672 const struct nf_conntrack_zone *zone; 2673 struct nlattr *nest_parms; > 2674 u32 mark; 2675 2676 zone = nf_ct_zone(ct); 2677 2678 nest_parms = nla_nest_start(skb, CTA_TUPLE_ORIG); 2679 if (!nest_parms) 2680 goto nla_put_failure; 2681 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_ORIGINAL)) < 0) 2682 goto nla_put_failure; 2683 if (ctnetlink_dump_zone_id(skb, CTA_TUPLE_ZONE, zone, 2684 NF_CT_ZONE_DIR_ORIG) < 0) 2685 goto nla_put_failure; 2686 nla_nest_end(skb, nest_parms); 2687 2688 nest_parms = nla_nest_start(skb, CTA_TUPLE_REPLY); 2689 if (!nest_parms) 2690 goto nla_put_failure; 2691 if (ctnetlink_dump_tuples(skb, nf_ct_tuple(ct, IP_CT_DIR_REPLY)) < 0) 2692 goto nla_put_failure; 2693 if (ctnetlink_dump_zone_id(skb, CTA_TUPLE_ZONE, zone, 2694 NF_CT_ZONE_DIR_REPL) < 0) 2695 goto nla_put_failure; 2696 nla_nest_end(skb, nest_parms); 2697 2698 if (ctnetlink_dump_zone_id(skb, CTA_ZONE, zone, 2699 NF_CT_DEFAULT_ZONE_DIR) < 0) 2700 goto nla_put_failure; 2701 2702 if (ctnetlink_dump_id(skb, ct) < 0) 2703 goto nla_put_failure; 2704 2705 if (ctnetlink_dump_status(skb, ct) < 0) 2706 goto nla_put_failure; 2707 2708 if (ctnetlink_dump_timeout(skb, ct, false) < 0) 2709 goto nla_put_failure; 2710 2711 if (ctnetlink_dump_protoinfo(skb, ct, false) < 0) 2712 goto nla_put_failure; 2713 2714 if (ctnetlink_dump_acct(skb, ct, IPCTNL_MSG_CT_GET) < 0 || 2715 ctnetlink_dump_timestamp(skb, ct) < 0) 2716 goto nla_put_failure; 2717 2718 if (ctnetlink_dump_helpinfo(skb, ct) < 0) 2719 goto nla_put_failure; 2720 -- 0-DAY CI Kernel Test Service https://01.org/lkp