HomeFreeBSD

unix: make unp_connect2() void

Description

unix: make unp_connect2() void

Assert that sockets are of the same type. unp_connectat() already did
this check. Add the check to uipc_connect2().

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

Details

Provenance
glebiusAuthored on May 12 2022, 8:22 PM
Reviewer
markj
Differential Revision
D35181: unix: make unp_connect2() void
Parents
rG4328318445ae: sockets: use socket buffer mutexes in struct socket directly
Branches
Unknown
Tags
Unknown