Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Fix kern/13049: missing unlock on failure...
details: https://anonhg.NetBSD.org/src/rev/7bd44a4c9af9
branches: trunk
changeset: 510359:7bd44a4c9af9
user: sommerfeld <sommerfeld%NetBSD.org@localhost>
date: Sun May 27 14:31:27 2001 +0000
description:
Fix kern/13049: missing unlock on failure exit from pmap_enter()
diffstat:
sys/arch/i386/i386/pmap.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r 556b7607b62d -r 7bd44a4c9af9 sys/arch/i386/i386/pmap.c
--- a/sys/arch/i386/i386/pmap.c Sun May 27 14:17:56 2001 +0000
+++ b/sys/arch/i386/i386/pmap.c Sun May 27 14:31:27 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.125 2001/05/26 16:32:41 chs Exp $ */
+/* $NetBSD: pmap.c,v 1.126 2001/05/27 14:31:27 sommerfeld Exp $ */
/*
*
@@ -2819,7 +2819,8 @@
ptp = pmap_get_ptp(pmap, pdei(va));
if (ptp == NULL) {
if (flags & PMAP_CANFAIL) {
- return ENOMEM;
+ error = ENOMEM;
+ goto out;
}
panic("pmap_enter: get ptp failed");
}
Home |
Main Index |
Thread Index |
Old Index