Source-Changes-HG archive

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

[src/netbsd-6]: src/sys/dev/ppbus Pull up following revision(s) (requested by...



details:   https://anonhg.NetBSD.org/src/rev/06b0fb6434a7
branches:  netbsd-6
changeset: 777304:06b0fb6434a7
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Mar 13 17:48:21 2018 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1537):
        sys/dev/ppbus/if_plip.c: 1.28
spl leak, found by Mootja

diffstat:

 sys/dev/ppbus/if_plip.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1691e4ad8ba4 -r 06b0fb6434a7 sys/dev/ppbus/if_plip.c
--- a/sys/dev/ppbus/if_plip.c   Tue Mar 13 17:47:14 2018 +0000
+++ b/sys/dev/ppbus/if_plip.c   Tue Mar 13 17:48:21 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_plip.c,v 1.24 2010/04/05 07:21:47 joerg Exp $ */
+/* $NetBSD: if_plip.c,v 1.24.14.1 2018/03/13 17:48:21 snj Exp $ */
 
 /*-
  * Copyright (c) 1997 Poul-Henning Kamp
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.24 2010/04/05 07:21:47 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_plip.c,v 1.24.14.1 2018/03/13 17:48:21 snj Exp $");
 
 /*
  * Parallel port TCP/IP interfaces added.  I looked at the driver from
@@ -445,6 +445,7 @@
                case AF_INET:
                        break;
                default:
+                       splx(s);
                        return EAFNOSUPPORT;
                }
                break;



Home | Main Index | Thread Index | Old Index