From 0921628ddce1c29441ddb694e04e9c1e9fe356c8 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Thu, 23 Jan 2020 01:41:09 +0000 Subject: 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. --- sys/dev/xen/netback/netback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/xen/netback/netback.c') 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); -- cgit v1.2.3