summaryrefslogtreecommitdiffstats
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2017-06-23 19:09:21 +0000
committermikeb <mikeb@openbsd.org>2017-06-23 19:09:21 +0000
commit6ab8fabfc9a3dcca19cb5a81c07b49b8fc4f81e6 (patch)
tree416dc4a33f8d770ce14f54a9222e4777da1ec6b0 /sys/dev/pv/hyperv.c
parentdelete -r, RCS id checks are now covered by mandoc, (diff)
downloadwireguard-openbsd-6ab8fabfc9a3dcca19cb5a81c07b49b8fc4f81e6.tar.xz
wireguard-openbsd-6ab8fabfc9a3dcca19cb5a81c07b49b8fc4f81e6.zip
Event interrupt handler should call hv_channel_schedule now
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index d62ae7d0c4d..6ba01cdc6b9 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -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);
}
}
}