1
0
Fork 0
alistair23-linux/drivers/net/team
Ido Schimmel 60a6531bfe team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid
We can't be within an RCU read-side critical section when deleting
VLANs, as underlying drivers might sleep during the hardware operation.
Therefore, replace the RCU critical section with a mutex. This is
consistent with team_vlan_rx_add_vid.

Fixes: 3d249d4ca7 ("net: introduce ethernet teaming device")
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-01-18 11:52:38 -05:00
..
Kconfig team: introduce random mode 2013-03-06 14:55:20 -05:00
Makefile team: introduce random mode 2013-03-06 14:55:20 -05:00
team.c team: Replace rcu_read_lock with a mutex in team_vlan_rx_kill_vid 2016-01-18 11:52:38 -05:00
team_mode_activebackup.c team: fill-up LAG changeupper info struct and pass it along 2015-12-03 11:49:26 -05:00
team_mode_broadcast.c team: fill-up LAG changeupper info struct and pass it along 2015-12-03 11:49:26 -05:00
team_mode_loadbalance.c team: fill-up LAG changeupper info struct and pass it along 2015-12-03 11:49:26 -05:00
team_mode_random.c team: fill-up LAG changeupper info struct and pass it along 2015-12-03 11:49:26 -05:00
team_mode_roundrobin.c team: fill-up LAG changeupper info struct and pass it along 2015-12-03 11:49:26 -05:00