Re: [PATCHv2 net] team: fix possible recursive locking when add slaves

2019-04-19 Thread David Miller
From: Hangbin Liu Date: Fri, 19 Apr 2019 14:31:00 +0800 > If we add a bond device which is already the master of the team interface, > we will hold the team->lock in team_add_slave() first and then request the > lock in team_set_mac_address() again. The functions are called like: > > - team_add_

[PATCHv2 net] team: fix possible recursive locking when add slaves

2019-04-19 Thread Hangbin Liu
If we add a bond device which is already the master of the team interface, we will hold the team->lock in team_add_slave() first and then request the lock in team_set_mac_address() again. The functions are called like: - team_add_slave() - team_port_add() - team_port_enter() - team_modeop