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)
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to