Re: [PATCH net v2] team: fix qom_list corruption by using list_del_init_rcu()

From: kernel test robot
Date: Tue Dec 16 2025 - 00:24:37 EST


Hi Dharanitharan,

kernel test robot noticed the following build errors:

[auto build test ERROR on net/main]

url: https://github.com/intel-lab-lkp/linux/commits/Dharanitharan-R/team-fix-qom_list-corruption-by-using-list_del_init_rcu/20251210-133429
base: net/main
patch link: https://lore.kernel.org/r/20251210053104.23608-2-dharanitharan725%40gmail.com
patch subject: [PATCH net v2] team: fix qom_list corruption by using list_del_init_rcu()
config: x86_64-rhel-9.4-ltp (https://download.01.org/0day-ci/archive/20251216/202512160610.CtwITAzk-lkp@xxxxxxxxx/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251216/202512160610.CtwITAzk-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/202512160610.CtwITAzk-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

drivers/net/team/team_core.c: In function '__team_queue_override_port_del':
>> drivers/net/team/team_core.c:827:9: error: implicit declaration of function 'list_del_init_rcu'; did you mean 'hlist_del_init_rcu'? [-Wimplicit-function-declaration]
827 | list_del_init_rcu(&port->qom_list);
| ^~~~~~~~~~~~~~~~~
| hlist_del_init_rcu


vim +827 drivers/net/team/team_core.c

820
821 static void __team_queue_override_port_del(struct team *team,
822 struct team_port *port)
823 {
824 if (!port->queue_id)
825 return;
826 /* Ensure safe repeated deletion */
> 827 list_del_init_rcu(&port->qom_list);
828 }
829

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki