tree: https://github.com/ammarfaizi2/linux-block stable/linux-stable-rc/queue/6.0 head: b73ed4a8a97de2e746ddc92bd2e65c80ca3d648c commit: c2c0ca3b370c91523bdca759e01778163b155a03 [82/159] netfilter: conntrack: Fix data-races around ct mark config: i386-randconfig-a006-20221128 compiler: gcc-11 (Debian 11.3.0-8) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/c2c0ca3b370c91523bdca759e01778163b155a03 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block stable/linux-stable-rc/queue/6.0 git checkout c2c0ca3b370c91523bdca759e01778163b155a03 # save the config file mkdir build_dir && cp config build_dir/.config make 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: In function '__ctnetlink_glue_build': >> net/netfilter/nf_conntrack_netlink.c:2674:13: warning: unused variable 'mark' [-Wunused-variable] 2674 | u32 mark; | ^~~~ 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