Module Name: src
Committed By: maxv
Date: Sun Jun 25 12:07:23 UTC 2017
Modified Files:
src/sys/arch/acorn32/podulebus: if_ie.c
Log Message:
spl leak, found by Mootja
To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 src/sys/arch/acorn32/podulebus/if_ie.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/arch/acorn32/podulebus/if_ie.c
diff -u src/sys/arch/acorn32/podulebus/if_ie.c:1.39 src/sys/arch/acorn32/podulebus/if_ie.c:1.40
--- src/sys/arch/acorn32/podulebus/if_ie.c:1.39 Wed Feb 22 09:45:15 2017
+++ src/sys/arch/acorn32/podulebus/if_ie.c Sun Jun 25 12:07:23 2017
@@ -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 @@ ieioctl(struct ifnet *ifp, unsigned long
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) )