summaryrefslogtreecommitdiff
path: root/drivers/sfi
diff options
context:
space:
mode:
authorVlad Buslov <vladbu@mellanox.com>2018-09-11 15:48:59 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-07-29 16:40:26 -0700
commit0e18134f4f9f1e5c75b63b84d250b116c76d5116 (patch)
tree46db327d8a07e4188937642582c450634d244741 /drivers/sfi
parent525e84bea52be145b0ae863ff8d242ce273e3bc6 (diff)
net/mlx5e: Eswitch, use state_lock to synchronize vlan change
esw->state_lock is already used to protect vlan vport configuration change. However, all preparation and correctness checks, and code that sets vport data are not protected by this lock and assume external synchronization by rtnl lock. In order to remove dependency on rtnl lock, extend esw->state_lock protection to whole eswitch vlan add/del functions. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Reviewed-by: Jianbo Liu <jianbol@mellanox.com> Reviewed-by: Roi Dayan <roid@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/sfi')
0 files changed, 0 insertions, 0 deletions