commit | 6d4fab39533f1bcd933d82d1667ceea93e4de260 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Mon Jul 16 16:36:20 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 16 11:16:44 2018 -0700 |
tree | 8283cd9fcea3a2fd3ca03bfd58b243bcae4c09a6 | |
parent | 1b3725781a07f754d1b81065926495c79c2183e6 [diff] |
net: hns3: Reset net device with rtnl_lock Since current locking was not covering certain code where netdev was being accessed or manipulated, this patch fixes it. Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>