Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/ipf/netinet call mutex destroy in fini, so ...
details: https://anonhg.NetBSD.org/src/rev/d1013ed60884
branches: trunk
changeset: 785730:d1013ed60884
user: christos <christos%NetBSD.org@localhost>
date: Wed Mar 27 23:49:02 2013 +0000
description:
call mutex destroy in fini, so that we don't end up with a lockdebug panic
when we re-attach.
diffstat:
sys/external/bsd/ipf/netinet/ip_log.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 74966fd54612 -r d1013ed60884 sys/external/bsd/ipf/netinet/ip_log.c
--- a/sys/external/bsd/ipf/netinet/ip_log.c Wed Mar 27 19:23:28 2013 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_log.c Wed Mar 27 23:49:02 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_log.c,v 1.4 2012/09/15 16:56:45 plunky Exp $ */
+/* $NetBSD: ip_log.c,v 1.5 2013/03/27 23:49:02 christos Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -9,7 +9,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.4 2012/09/15 16:56:45 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_log.c,v 1.5 2013/03/27 23:49:02 christos Exp $");
#include <sys/param.h>
#if defined(KERNEL) || defined(_KERNEL)
@@ -327,6 +327,7 @@
MUTEX_ENTER(&softl->ipl_mutex[i]);
}
MUTEX_EXIT(&softl->ipl_mutex[i]);
+ MUTEX_DESTROY(&softl->ipl_mutex[i]);
}
return 0;
Home |
Main Index |
Thread Index |
Old Index