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/2e61744ac6ad
branches:  trunk
changeset: 810697:2e61744ac6ad
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 71c768244db3 -r 2e61744ac6ad 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