Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix missing mutex_exit in ppp_create().
details: https://anonhg.NetBSD.org/src/rev/c8ce10d53bf1
branches: trunk
changeset: 447434:c8ce10d53bf1
user: knakahara <knakahara%NetBSD.org@localhost>
date: Fri Jan 11 02:55:41 2019 +0000
description:
Fix missing mutex_exit in ppp_create().
diffstat:
sys/net/if_ppp.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 23de2f76b613 -r c8ce10d53bf1 sys/net/if_ppp.c
--- a/sys/net/if_ppp.c Fri Jan 11 02:44:49 2019 +0000
+++ b/sys/net/if_ppp.c Fri Jan 11 02:55:41 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ppp.c,v 1.161 2018/06/26 06:48:02 msaitoh Exp $ */
+/* $NetBSD: if_ppp.c,v 1.162 2019/01/11 02:55:41 knakahara Exp $ */
/* Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp */
/*
@@ -102,7 +102,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.161 2018/06/26 06:48:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ppp.c,v 1.162 2019/01/11 02:55:41 knakahara Exp $");
#ifdef _KERNEL_OPT
#include "ppp.h"
@@ -301,6 +301,7 @@
break;
else if (unit == sci->sc_unit) {
free(sc, M_DEVBUF);
+ mutex_exit(&ppp_list_lock);
return NULL;
}
}
Home |
Main Index |
Thread Index |
Old Index