diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-10-30 21:50:52 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-31 12:42:38 -0700 |
commit | a963052e539887df481d4d3a6ad4c92ca6461852 (patch) | |
tree | ed4f4fc0d87f4afff6cb7a757b1bcf2cd49f5c65 /drivers/visorbus | |
parent | 3c88ed1d798da355859ca083d3884a16ce0841f2 (diff) |
net: hns3: bugfix for rtnl_lock's range in the hclge_reset()
Since hclge_reset_wait() is used to wait for the hardware to complete
the reset, it is not necessary to hold the rtnl_lock during
hclge_reset_wait(). So this patch releases the lock for the duration
of hclge_reset_wait().
Fixes: 6d4fab39533f ("net: hns3: Reset net device with rtnl_lock")
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/visorbus')
0 files changed, 0 insertions, 0 deletions