Module Name:    src
Committed By:   maxv
Date:           Sun Jun 25 12:02:59 UTC 2017

Modified Files:
        src/sys/dev/sbus: be.c

Log Message:
spl leak, found by Mootja a long time ago


To generate a diff of this commit:
cvs rdiff -u -r1.85 -r1.86 src/sys/dev/sbus/be.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/sbus/be.c
diff -u src/sys/dev/sbus/be.c:1.85 src/sys/dev/sbus/be.c:1.86
--- src/sys/dev/sbus/be.c:1.85	Thu Dec 15 09:28:06 2016
+++ src/sys/dev/sbus/be.c	Sun Jun 25 12:02:59 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: be.c,v 1.85 2016/12/15 09:28:06 ozaki-r Exp $	*/
+/*	$NetBSD: be.c,v 1.86 2017/06/25 12:02:59 maxv Exp $	*/
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.85 2016/12/15 09:28:06 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.86 2017/06/25 12:02:59 maxv Exp $");
 
 #include "opt_ddb.h"
 #include "opt_inet.h"
@@ -1119,6 +1119,7 @@ beinit(struct ifnet *ifp)
 
 	callout_reset(&sc->sc_tick_ch, hz, be_tick, sc);
 
+	splx(s);
 	return 0;
 out:
 	splx(s);

Reply via email to