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

This commit is contained in:
Matt Macy 2018-05-20 04:32:48 +00:00
parent ce8054a08f
commit d95253403f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333914

View File

@ -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)