]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/kern/uipc_usrreq.c
Rename unp_pcb_lock2().
authormarkj <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:22:16 +0000 (19:22 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:22:16 +0000 (19:22 +0000)
commit01d8fe5057c24fe9a428bf5c37849a5022e9acb2
treeee690356030c9f607c45910cfcd35eea0d9bfbdc
parent2bc293973b3c1c7ac27b7da79f85540c5b0b4335
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