aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ipv4.c
diff options
context:
space:
mode:
authorJian Shen <[email protected]>2018-09-21 15:41:43 +0000
committerDavid S. Miller <[email protected]>2018-09-22 02:29:32 +0000
commit7a8101109dd37837f587cd56f3111d4fc17a07f5 (patch)
tree54bc314235fe67b092aeb1041805baa1a7a540b3 /net/ipv4/tcp_ipv4.c
parentnet: hns3: Add handle for default case (diff)
downloadkernel-7a8101109dd37837f587cd56f3111d4fc17a07f5.tar.gz
kernel-7a8101109dd37837f587cd56f3111d4fc17a07f5.zip
net: hns3: Add nic state check before calling netif_tx_wake_queue
When nic down, it firstly calls netif_tx_stop_all_queues(), then calls napi_disable(). But napi_disable() will wait current napi_poll finish, it may call netif_tx_wake_queue(). This patch fixes it by add nic state checking. Fixes: 424eb834a9be ("net: hns3: Unified HNS3 {VF|PF} Ethernet Driver for hip08 SoC") Signed-off-by: Jian Shen <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Salil Mehta <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
0 files changed, 0 insertions, 0 deletions