diff options
author | 2019-12-19 14:57:41 +0800 | |
---|---|---|
committer | 2019-12-20 21:20:39 -0800 | |
commit | 31c92ccecaab75af4a746af6e071314bd3d8ded3 (patch) | |
tree | 648513e79178f7d60f363a47f836d7e9d087f172 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: check FE bit before calling hns3_add_frag() (diff) | |
download | linux-dev-31c92ccecaab75af4a746af6e071314bd3d8ded3.tar.xz linux-dev-31c92ccecaab75af4a746af6e071314bd3d8ded3.zip |
net: hns3: remove useless mutex vport_cfg_mutex in the struct hclge_dev
Mutex vport_cfg_mutex has been used to protect uc_mac_list,
mc_mac_list and vlan_list from being modified by unloading
or reset task at the same time. But now unloading will
set up HCLGE_STATE_REMOVING flag and call cancel_work_sync to
break down this race condition, so this mutex is unnecessary.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions