summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormp <mp@FreeBSD.org>2002-06-24 22:28:42 +0000
committermp <mp@FreeBSD.org>2002-06-24 22:28:42 +0000
commit3662a19b344f66039ab009e1b5c78dd1e8b49afc (patch)
treefa78515a51ad445ab04414ff11166515042f3dc9 /sys
parentdeb4c976c70a41d55dcee24ba313a543e54dfc5c (diff)
downloadFreeBSD-src-3662a19b344f66039ab009e1b5c78dd1e8b49afc.zip
FreeBSD-src-3662a19b344f66039ab009e1b5c78dd1e8b49afc.tar.gz
Add missing splx().
MFC after: 3 days
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/bge/if_bge.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/bge/if_bge.c b/sys/dev/bge/if_bge.c
index 433911f..e21da49 100644
--- a/sys/dev/bge/if_bge.c
+++ b/sys/dev/bge/if_bge.c
@@ -2389,8 +2389,10 @@ bge_init(xsc)
ifp = &sc->arpcom.ac_if;
- if (ifp->if_flags & IFF_RUNNING)
+ if (ifp->if_flags & IFF_RUNNING) {
+ splx(s);
return;
+ }
/* Cancel pending I/O and flush buffers. */
bge_stop(sc);
OpenPOWER on IntegriCloud