diff options
author | Haiyang Zhang <haiyangz@microsoft.com> | 2018-07-17 17:11:13 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-18 15:23:30 -0700 |
commit | 6b81b193b83e87da1ea13217d684b54fccf8ee8a (patch) | |
tree | 682c47e5e7d287dc0a10c6ef4d17ca175db71300 /drivers/ptp | |
parent | a2ec9d14edcd8e92c1d6cd2132d6c9a1dc5d0985 (diff) | |
download | linux-6b81b193b83e87da1ea13217d684b54fccf8ee8a.tar.gz linux-6b81b193b83e87da1ea13217d684b54fccf8ee8a.tar.bz2 linux-6b81b193b83e87da1ea13217d684b54fccf8ee8a.zip |
hv_netvsc: Fix napi reschedule while receive completion is busy
If out ring is full temporarily and receive completion cannot go out,
we may still need to reschedule napi if certain conditions are met.
Otherwise the napi poll might be stopped forever, and cause network
disconnect.
Fixes: 7426b1a51803 ("netvsc: optimize receive completions")
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions