Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlaf Hering <ohering@suse.de>2017-10-20 12:20:33 +0200
committerOlaf Hering <ohering@suse.de>2017-10-20 12:23:27 +0200
commit69af2dd69723c64dc0d1185b05a5ae5eecaafbb7 (patch)
tree89a11653727bb939175c57e1208a510c69df6df6
parent80e85ea95d31119017920d98abfea8d854689a2d (diff)
netvsc: don't signal host twice if empty (fate#323887).
-rw-r--r--drivers/net/hyperv/netvsc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/hyperv/netvsc.c b/drivers/net/hyperv/netvsc.c
index bffaf93d3cb0..b5fc8fb56b88 100644
--- a/drivers/net/hyperv/netvsc.c
+++ b/drivers/net/hyperv/netvsc.c
@@ -1191,10 +1191,6 @@ int netvsc_poll(struct napi_struct *napi, int budget)
nvchan->desc = hv_pkt_iter_next(channel, nvchan->desc);
}
- /* if ring is empty, signal host */
- if (!nvchan->desc)
- hv_pkt_iter_close(channel);
-
/* If send of pending receive completions suceeded
* and did not exhaust NAPI budget this time
* and not doing busy poll