Module Name: src
Committed By: martin
Date: Thu Mar 8 14:35:53 UTC 2018
Modified Files:
src/sys/dev/ppbus [netbsd-8]: if_plip.c
Log Message:
Pull up following revision(s) (requested by msaitoh in ticket #617):
sys/dev/ppbus/if_plip.c: revision 1.28
spl leak, found by Mootja
To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.27.10.1 src/sys/dev/ppbus/if_plip.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/dev/ppbus/if_plip.c
diff -u src/sys/dev/ppbus/if_plip.c:1.27 src/sys/dev/ppbus/if_plip.c:1.27.10.1
--- src/sys/dev/ppbus/if_plip.c:1.27 Sun May 8 03:11:33 2016
+++ src/sys/dev/ppbus/if_plip.c Thu Mar 8 14:35:53 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: if_plip.c,v 1.27 2016/05/08 03:11:33 christos Exp $ */
+/* $NetBSD: if_plip.c,v 1.27.10.1 2018/03/08 14:35:53 martin Exp $ */
/*-
* Copyright (c) 1997 Poul-Henning Kamp
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.27 2016/05/08 03:11:33 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.27.10.1 2018/03/08 14:35:53 martin Exp $");
/*
* Parallel port TCP/IP interfaces added. I looked at the driver from
@@ -445,6 +445,7 @@ lpioctl(struct ifnet *ifp, u_long cmd, v
case AF_INET:
break;
default:
+ splx(s);
return EAFNOSUPPORT;
}
break;