commit | 76b825ab870be3281edac4ae8a414da6e54b0d3a | [log] [tgz] |
---|---|---|
author | Lin Yun Sheng <linyunsheng@huawei.com> | Wed Jul 12 19:09:59 2017 +0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 12 08:22:34 2017 -0700 |
tree | aa2f3ecb5c98173692ef22e5c1d8d5d5868e460f | |
parent | 2e3d232e139a7128e2494a840a8a00fb9ab65f45 [diff] |
net: hns: Bugfix for Tx timeout handling in hns driver When hns port type is not debug mode, netif_tx_disable is called when there is a tx timeout, which requires system reboot to return to normal state. This patch fix this problem by resetting the net dev. Fixes: b5996f11ea54 ("net: add Hisilicon Network Subsystem basic ethernet support") Signed-off-by: Lin Yun Sheng <linyunsheng@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>