Module Name:    src
Committed By:   mlelstv
Date:           Sat Oct  1 07:23:40 UTC 2016

Modified Files:
        src/sys/dev/usb: if_run.c

Log Message:
Use splusb() like the other drivers instead of splnet().


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/dev/usb/if_run.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/if_run.c
diff -u src/sys/dev/usb/if_run.c:1.17 src/sys/dev/usb/if_run.c:1.18
--- src/sys/dev/usb/if_run.c:1.17	Sat Oct  1 07:21:45 2016
+++ src/sys/dev/usb/if_run.c	Sat Oct  1 07:23:40 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: if_run.c,v 1.17 2016/10/01 07:21:45 mlelstv Exp $	*/
+/*	$NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $	*/
 /*	$OpenBSD: if_run.c,v 1.90 2012/03/24 15:11:04 jsg Exp $	*/
 
 /*-
@@ -23,7 +23,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.17 2016/10/01 07:21:45 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_run.c,v 1.18 2016/10/01 07:23:40 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/sockio.h>
@@ -749,7 +749,7 @@ run_detach(device_t self, int flags)
 
 	pmf_device_deregister(self);
 
-	s = splnet();
+	s = splusb();
 
 	sc->sc_flags |= RUN_DETACHING;
 

Reply via email to