summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2020-07-28 05:16:50 +0300
committerDavid S. Miller <davem@davemloft.net>2020-07-28 22:54:48 +0300
commita6f7bfdc78ddd8d719d108fef973b4e4a5a6ac6b (patch)
tree3b92a1d678d8c0966dcb977bd68e4b7be15b51c6 /tools/perf/scripts/python/export-to-sqlite.py
parenta7e90ee5965fafc53d36e8b3205f08c88d7bc11f (diff)
downloadlinux-a6f7bfdc78ddd8d719d108fef973b4e4a5a6ac6b.tar.xz
net: hns3: add reset check for VF updating port based VLAN
Currently hclgevf_update_port_base_vlan_info() may be called when VF is resetting, which may cause hns3_nic_net_open() being called twice unexpectedly. So fix it by adding a reset check for it, and extend critical region for rntl_lock in hclgevf_update_port_base_vlan_info(). Fixes: 92f11ea177cd ("net: hns3: fix set port based VLAN issue for VF") Signed-off-by: Jian Shen <shenjian15@huawei.com> 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-sqlite.py')
0 files changed, 0 insertions, 0 deletions