Date: Sun, 20 May 2018 04:32:48 +0000 (UTC) From: Matt Macy <mmacy@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r333914 - head/sys/kern Message-ID: <201805200432.w4K4WmfM072851@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805200432.w4K4WmfM072851>