Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/hpc Pull up following revision(s) (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/5c23ff80403d
branches:  netbsd-8
changeset: 460466:5c23ff80403d
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 24 15:51:28 2019 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1412):

        sys/dev/hpc/hpcapm.c: revision 1.21

spl leak, found by Mootja

diffstat:

 sys/dev/hpc/hpcapm.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r fab01d4fd1e4 -r 5c23ff80403d sys/dev/hpc/hpcapm.c
--- a/sys/dev/hpc/hpcapm.c      Thu Oct 24 15:48:37 2019 +0000
+++ b/sys/dev/hpc/hpcapm.c      Thu Oct 24 15:51:28 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hpcapm.c,v 1.20 2013/11/09 21:31:56 christos Exp $     */
+/*     $NetBSD: hpcapm.c,v 1.20.22.1 2019/10/24 15:51:28 martin Exp $  */
 
 /*
  * Copyright (c) 2000 Takemura Shin
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hpcapm.c,v 1.20 2013/11/09 21:31:56 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hpcapm.c,v 1.20.22.1 2019/10/24 15:51:28 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_hpcapm.h"
@@ -415,6 +415,8 @@
                                sc->power_state = APM_SYS_READY;
                        } else
                                *event_info = 0;
+                       splx(s);
+
                        return (0);
                }
        }



Home | Main Index | Thread Index | Old Index