Skip to contentSkip to conversation

team: fix qom_list corruption by using list_del_init_rcu()

PATCH New Dharanitharan R 1 participant 1 message Dec 6, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 team: fix qom_list corruption by using list_del_init_rcu()

---
 drivers/net/team/team_core.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/team/team_core.c +2 -1
index 4d5c9ae8f221..d6d724b52dbf 100644
@@ -823,7 +823,8 @@ static void __team_queue_override_port_del(struct team *team,
 {
 	if (!port->queue_id)
 		return;
-	list_del_rcu(&port->qom_list);
+	/* Ensure safe repeated deletion */
+	list_del_init_rcu(&port->qom_list);
 }
 
 static bool team_queue_override_port_has_gt_prio_than(struct team_port *port,
Signature · 1 line
2.43.0