diff --git a/drivers/net/team/team_core.c b/drivers/net/team/team_core.c index ab1935a4aa2c..056889eff6b1 100644 --- a/drivers/net/team/team_core.c +++ b/drivers/net/team/team_core.c @@ -2947,7 +2947,7 @@ static void team_port_change_check(struct team_port *port, bool linkup) { struct team *team = port->team; - mutex_lock(&team->lock); + mutex_lock_nested(&team->lock, 1); __team_port_change_check(port, linkup); mutex_unlock(&team->lock); }