team: fix qom_list corruption by using list_del_init_rcu()
Subsystems (3)
PATCH 1/1 team: fix qom_list corruption by using list_del_init_rcu()
Reported-by [email protected]
Signed-off-by Dharanitharan R <[email protected]>
--- drivers/net/team/team_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/team/team_core.c +2 -1
@@ -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