diff options
author | 2016-01-19 17:16:19 +0000 | |
---|---|---|
committer | 2016-01-19 17:16:19 +0000 | |
commit | 1e3ec00f2f6ad7ad8c36cbc5ddafe45edf2a6a11 (patch) | |
tree | 0bd3ca95d477acb22576023615235032af39354a | |
parent | Fix a few issues in the xnf transmit path (diff) | |
download | wireguard-openbsd-1e3ec00f2f6ad7ad8c36cbc5ddafe45edf2a6a11.tar.xz wireguard-openbsd-1e3ec00f2f6ad7ad8c36cbc5ddafe45edf2a6a11.zip |
Mask interrupts on boot, masking/unmasking is handled by stop/init
-rw-r--r-- | sys/dev/pv/if_xnf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c index dabbb497ca9..61a3fb1c810 100644 --- a/sys/dev/pv/if_xnf.c +++ b/sys/dev/pv/if_xnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xnf.c,v 1.7 2016/01/19 17:13:22 mikeb Exp $ */ +/* $OpenBSD: if_xnf.c,v 1.8 2016/01/19 17:16:19 mikeb Exp $ */ /* * Copyright (c) 2015, 2016 Mike Belopuhov @@ -245,6 +245,7 @@ xnf_attach(struct device *parent, struct device *self, void *aux) printf(": failed to establish an interrupt\n"); return; } + xen_intr_mask(sc->sc_xih); printf(": event channel %u, address %s\n", sc->sc_xih, ether_sprintf(sc->sc_ac.ac_enaddr)); |