Hi Yuqi,

kernel test robot noticed the following build errors:

[auto build test ERROR on 564973a259ec76f2dad0853420e7034cc43994c4]

url:    
https://github.com/intel-lab-lkp/linux/commits/Yuqi-Xu/openvswitch-Fix-CT-limit-teardown-use-after-free/20260819-172433
base:   564973a259ec76f2dad0853420e7034cc43994c4
patch link:    
https://lore.kernel.org/r/d9687780533d0b257e01ab792c8206a69beb281e.1787129643.git.xuyuqiabc%40gmail.com
patch subject: [PATCH net v8 1/1] openvswitch: Fix CT limit teardown 
use-after-free
config: i386-buildonly-randconfig-005-20260821 
(https://download.01.org/0day-ci/archive/20260821/[email protected]/config)
compiler: clang version 22.1.3 (https://github.com/llvm/llvm-project 
e9846648fd6183ee6d8cbdb4502213fcf902a211)
reproduce (this is a W=1 build): 
(https://download.01.org/0day-ci/archive/20260821/[email protected]/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: 
https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

>> net/openvswitch/datapath.c:2777:36: error: no member named 'ct_exit_data' in 
>> 'struct ovs_net'
    2777 |         ovs_ct_exit_finish(dnet, ovs_net->ct_exit_data);
         |                                  ~~~~~~~  ^
   1 error generated.


vim +2777 net/openvswitch/datapath.c

  2766  
  2767  static void __net_exit ovs_exit_net(struct net *dnet)
  2768  {
  2769          struct ovs_net *ovs_net = net_generic(dnet, ovs_net_id);
  2770          struct vport *vport, *vport_next;
  2771          struct datapath *dp, *dp_next;
  2772          struct net *net;
  2773          LIST_HEAD(head);
  2774  
  2775          ovs_lock();
  2776  
> 2777          ovs_ct_exit_finish(dnet, ovs_net->ct_exit_data);
  2778  
  2779          list_for_each_entry_safe(dp, dp_next, &ovs_net->dps, list_node)
  2780                  __dp_destroy(dp);
  2781  
  2782          down_read(&net_rwsem);
  2783          for_each_net(net)
  2784                  list_vports_from_net(net, dnet, &head);
  2785          up_read(&net_rwsem);
  2786  
  2787          /* Detach all vports from given namespace. */
  2788          list_for_each_entry_safe(vport, vport_next, &head, detach_list) 
{
  2789                  list_del(&vport->detach_list);
  2790                  ovs_dp_detach_port(vport);
  2791          }
  2792  
  2793          ovs_unlock();
  2794  
  2795          cancel_delayed_work_sync(&ovs_net->masks_rebalance);
  2796          cancel_work_sync(&ovs_net->dp_notify_work);
  2797  }
  2798  

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to