summaryrefslogtreecommitdiffstats
path: root/fs/cachefiles
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-04-06 07:41:28 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-06 22:56:49 +0200
commit16cf72bb085626ae1323e59985d6cbb58a8f71d8 (patch)
tree50a8e04f54c5307ede1fb4bb1939dace5e99c2e1 /fs/cachefiles
parentsctp: listen on the sock only when it's state is listening or closed (diff)
downloadlinux-16cf72bb085626ae1323e59985d6cbb58a8f71d8.tar.xz
linux-16cf72bb085626ae1323e59985d6cbb58a8f71d8.zip
team: call netdev_change_features out of team lock
Commit f6988cb63a4e ("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>
Diffstat (limited to 'fs/cachefiles')
0 files changed, 0 insertions, 0 deletions