]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/kern/uipc_usrreq.c
Rename unp_pcb_lock2().
authorMark Johnston <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:22:16 +0000 (19:22 +0000)
committerMark Johnston <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:22:16 +0000 (19:22 +0000)
commit4820bf6ac2b5fd3c2287d306c415f4e2318ae0d4
treeee690356030c9f607c45910cfcd35eea0d9bfbdc
parent5362170da71cbe487b6d6a048b2e59de8901d504
Rename unp_pcb_lock2().

unp_pcb_lock_pair() seems like a better name.  Also make it handle the
case where the two sockets are the same instead of making callers do it.
No functional change intended.

Reviewed by: glebius, kevans, kib
Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26296
sys/kern/uipc_usrreq.c