HomeFreeBSD

unix: provide an option to return locked from unp_connectat()

Description

unix: provide an option to return locked from unp_connectat()

Use this new version in unix/dgram socket when sending to a target
address. This removes extra lock release/acquisition and possible
counter-intuitive ENOTCONN.

Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D35298

Details

Provenance
glebiusAuthored on Jun 24 2022, 4:09 PM
Reviewer
markj
Differential Revision
D35298: unix: provide an option to return locked from unp_connectat()
Parents
rG5dc8dd5f3ac5: unix/dgram: inline sbappendaddr_locked() into uipc_sosend_dgram()
Branches
Unknown
Tags
Unknown