Re: [PATCH net v8 1/1] openvswitch: Fix CT limit teardown use-after-free
From: kernel test robot
Date: Fri Aug 21 2026 - 08:21:19 EST
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-randconfig-011-20260821 (https://download.01.org/0day-ci/archive/20260821/202608212044.UwsWD6wL-lkp@xxxxxxxxx/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260821/202608212044.UwsWD6wL-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202608212044.UwsWD6wL-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
net/openvswitch/datapath.c: In function 'ovs_exit_net':
>> net/openvswitch/datapath.c:2777:41: error: 'struct ovs_net' has no member named 'ct_exit_data'
2777 | ovs_ct_exit_finish(dnet, ovs_net->ct_exit_data);
| ^~
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