Guest User

Untitled

a guest
Jun 22nd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. --- a/drivers/net/hyperv/netvsc.c 2018-06-21 06:21:38.510273512 +0000
  2. +++ b/drivers/net/hyperv/netvsc.c 2018-06-21 06:33:29.991826355 +0000
  3. @@ -1251,9 +1251,10 @@
  4. if (send_recv_completions(ndev, net_device, nvchan) == 0 &&
  5. work_done < budget &&
  6. netvsc_napi_complete_done(napi, work_done) &&
  7. - hv_end_read(&channel->inbound)) {
  8. + hv_end_read(&channel->inbound) &&
  9. + napi_schedule_prep(napi)) {
  10. hv_begin_read(&channel->inbound);
  11. - napi_reschedule(napi);
  12. + __napi_schedule(napi);
  13. }
  14.  
  15. /* Driver may overshoot since multiple packets per descriptor */
Add Comment
Please, Sign In to add comment