diff options
author | 2018-10-30 21:50:53 +0800 | |
---|---|---|
committer | 2018-10-31 12:42:38 -0700 | |
commit | 29118ab962d5476fdc65fae312ac38db68092d78 (patch) | |
tree | 21cf022779b02c35f829e374ccba404b07314850 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: hns3: bugfix for rtnl_lock's range in the hclge_reset() (diff) | |
download | linux-dev-29118ab962d5476fdc65fae312ac38db68092d78.tar.xz linux-dev-29118ab962d5476fdc65fae312ac38db68092d78.zip |
net: hns3: bugfix for rtnl_lock's range in the hclgevf_reset()
Since hclgevf_reset_wait() is used to wait for the hardware to complete
the reset, it is not necessary to hold the rtnl_lock during
hclgevf_reset_wait(). So this patch releases the lock for the duration
of hclgevf_reset_wait().
Fixes: 6988eb2a9b77 ("net: hns3: Add support to reset the enet/ring mgmt layer")
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