Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/drivers/net/hyperv/netvsc.c 2018-06-21 06:21:38.510273512 +0000
- +++ b/drivers/net/hyperv/netvsc.c 2018-06-21 06:33:29.991826355 +0000
- @@ -1251,9 +1251,10 @@
- if (send_recv_completions(ndev, net_device, nvchan) == 0 &&
- work_done < budget &&
- netvsc_napi_complete_done(napi, work_done) &&
- - hv_end_read(&channel->inbound)) {
- + hv_end_read(&channel->inbound) &&
- + napi_schedule_prep(napi)) {
- hv_begin_read(&channel->inbound);
- - napi_reschedule(napi);
- + __napi_schedule(napi);
- }
- /* Driver may overshoot since multiple packets per descriptor */
Add Comment
Please, Sign In to add comment