commit | d64e38ae690e3337db0d38d9b149a193a1646c4b | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <stephen@networkplumber.org> | Fri Mar 02 13:49:05 2018 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 04 22:18:20 2018 -0500 |
tree | 0aba67f10cda81d2040138605e0be56f2472ac79 | |
parent | a7483ec0267c69b34e818738da60b392623da94b [diff] |
hv_netvsc: fix race in napi poll when rescheduling There is a race between napi_reschedule and re-enabling interrupts which could lead to missed host interrrupts. This occurs when interrupts are re-enabled (hv_end_read) and vmbus irq callback (netvsc_channel_cb) has already scheduled NAPI. Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com> Signed-off-by: David S. Miller <davem@davemloft.net>