linux/drivers/net/team
Xin Long 16cf72bb08 team: call netdev_change_features out of team lock
Commit f6988cb63a ("team: don't call netdev_change_features under
team->lock") fixed the issue calling netdev_change_features under
team->lock for team_compute_features.

But there are still two places where it calls netdev_change_features
under team->lock, team_port_add and team_port_del. It may cause a
dead lock when the slave port with LRO enabled is added.

This patch is to fix this dead lock by moving netdev_change_features
out of team_port_add and team_port_del, and call it after unlocking
the team lock.

Reported-by: Patrick Talbert <ptalbert@redhat.com>
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-06 13:56:49 -07: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_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: loadbalance: push lacpdus to exact delivery 2016-08-26 13:08:59 -07: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
team.c team: call netdev_change_features out of team lock 2017-04-06 13:56:49 -07:00