HomeFreeBSD

Rename unp_pcb_lock2().

Description

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

Details

Provenance
markjAuthored on
Reviewer
glebius
Differential Revision
D26296: [unix(4) cleanup 3/8] Rename unp_pcb_lock2().
Parents
rS365760: Improve unix socket PCB refcounting.
Branches
Unknown
Tags
Unknown