Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Add missing splx() found by brainy.
details: https://anonhg.NetBSD.org/src/rev/cc16702108a4
branches: trunk
changeset: 340555:cc16702108a4
user: christos <christos%NetBSD.org@localhost>
date: Sat Sep 12 19:18:24 2015 +0000
description:
Add missing splx() found by brainy.
diffstat:
sys/dev/ic/seeq8005.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 4e4731c98cb5 -r cc16702108a4 sys/dev/ic/seeq8005.c
--- a/sys/dev/ic/seeq8005.c Sat Sep 12 19:11:13 2015 +0000
+++ b/sys/dev/ic/seeq8005.c Sat Sep 12 19:18:24 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: seeq8005.c,v 1.53 2015/04/13 16:33:24 riastradh Exp $ */
+/* $NetBSD: seeq8005.c,v 1.54 2015/09/12 19:18:24 christos Exp $ */
/*
* Copyright (c) 2000, 2001 Ben Harris
@@ -61,7 +61,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.53 2015/04/13 16:33:24 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: seeq8005.c,v 1.54 2015/09/12 19:18:24 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -875,8 +875,10 @@
* us (actually ea_txpacket()) back when the card's ready for more
* frames.
*/
- if (ifp->if_flags & IFF_OACTIVE)
+ if (ifp->if_flags & IFF_OACTIVE) {
+ splx(s);
return;
+ }
/* Mark interface as output active */
Home |
Main Index |
Thread Index |
Old Index