svn commit: r333914 - head/sys/kern

Matt Macy mmacy at FreeBSD.org
Sun May 20 04:32:49 UTC 2018


Author: mmacy
Date: Sun May 20 04:32:48 2018
New Revision: 333914
URL: https://svnweb.freebsd.org/changeset/base/333914

Log:
  AF_UNIX: make unpcb lock name line up with what's in witness

Modified:
  head/sys/kern/uipc_usrreq.c

Modified: head/sys/kern/uipc_usrreq.c
==============================================================================
--- head/sys/kern/uipc_usrreq.c	Sun May 20 04:15:12 2018	(r333913)
+++ head/sys/kern/uipc_usrreq.c	Sun May 20 04:32:48 2018	(r333914)
@@ -282,7 +282,7 @@ static struct mtx	unp_defers_lock;
 #define UNP_REF_LIST_UNLOCK()		UNP_DEFERRED_UNLOCK();
 
 #define UNP_PCB_LOCK_INIT(unp)		mtx_init(&(unp)->unp_mtx,	\
-					    "unp_mtx", "unp_mtx",	\
+					    "unp", "unp",	\
 					    MTX_DUPOK|MTX_DEF)
 #define	UNP_PCB_LOCK_DESTROY(unp)	mtx_destroy(&(unp)->unp_mtx)
 #define	UNP_PCB_LOCK(unp)		mtx_lock(&(unp)->unp_mtx)


More information about the svn-src-all mailing list