aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/xen/netback/netback.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2020-01-23 01:41:09 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2020-01-23 01:41:09 +0000
commit0921628ddce1c29441ddb694e04e9c1e9fe356c8 (patch)
treea9db306544094d456f54570e974761f6d43f31df /sys/dev/xen/netback/netback.c
parentaf614b8e0452de3653972c0130ecad58847f26a7 (diff)
Introduce flag IFF_NEEDSEPOCH that marks Ethernet interfaces that
supposedly may call into ether_input() without network epoch. They all need to be reviewed before 13.0-RELEASE. Some may need be fixed. The flag is not planned to be used in the kernel for a long time.
Notes
Notes: svn path=/head/; revision=357010
Diffstat (limited to 'sys/dev/xen/netback/netback.c')
-rw-r--r--sys/dev/xen/netback/netback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xen/netback/netback.c b/sys/dev/xen/netback/netback.c
index ecc26981e2b3..1e972cd09f81 100644
--- a/sys/dev/xen/netback/netback.c
+++ b/sys/dev/xen/netback/netback.c
@@ -780,7 +780,7 @@ xnb_connect_comms(struct xnb_softc *xnb)
xnb->evtchn,
/*filter*/NULL,
xnb_intr, /*arg*/xnb,
- INTR_TYPE_BIO | INTR_MPSAFE,
+ INTR_TYPE_NET | INTR_MPSAFE,
&xnb->xen_intr_handle);
if (error != 0) {
(void)xnb_disconnect(xnb);