Event interrupt handler should call hv_channel_schedule now
authormikeb <mikeb@openbsd.org>
Fri, 23 Jun 2017 19:09:21 +0000 (19:09 +0000)
committermikeb <mikeb@openbsd.org>
Fri, 23 Jun 2017 19:09:21 +0000 (19:09 +0000)
sys/dev/pv/hyperv.c

index d62ae7d..6ba01cd 100644 (file)
@@ -698,8 +698,7 @@ hv_event_intr(struct hv_softc *sc)
                                continue;
                        }
                        ch->ch_evcnt.ec_count++;
-                       if (ch->ch_handler)
-                               ch->ch_handler(ch->ch_ctx);
+                       hv_channel_schedule(ch);
                }
        }
 }