Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/acorn32/podulebus spl leak, found by Mootja



details:   https://anonhg.NetBSD.org/src/rev/8894b3731c60
branches:  trunk
changeset: 824985:8894b3731c60
user:      maxv <maxv%NetBSD.org@localhost>
date:      Sun Jun 25 12:07:23 2017 +0000

description:
spl leak, found by Mootja

diffstat:

 sys/arch/acorn32/podulebus/if_ie.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4a44abead098 -r 8894b3731c60 sys/arch/acorn32/podulebus/if_ie.c
--- a/sys/arch/acorn32/podulebus/if_ie.c        Sun Jun 25 12:04:37 2017 +0000
+++ b/sys/arch/acorn32/podulebus/if_ie.c        Sun Jun 25 12:07:23 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.39 2017/02/22 09:45:15 nonaka Exp $ */
+/* $NetBSD: if_ie.c,v 1.40 2017/06/25 12:07:23 maxv Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.39 2017/02/22 09:45:15 nonaka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.40 2017/06/25 12:07:23 maxv Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -616,7 +616,7 @@
 
        case SIOCSIFFLAGS:
            if ((error = ifioctl_common(ifp, cmd, data)) != 0)
-               return error;
+               break;
            sc->promisc = ifp->if_flags & ( IFF_PROMISC | IFF_ALLMULTI );
 
            if ( IZCLR(ifp,IFF_UP) && IZSET(ifp,IFF_RUNNING) )



Home | Main Index | Thread Index | Old Index