HomeFreeBSD

AF_UNIX: It is possible for UNIX datagram sockets to be connected

Description

AF_UNIX: It is possible for UNIX datagram sockets to be connected
to themselves. The updated code assumed that that could not happen
and would try to lock the unp mutex twice.

There may be a lingering issue here but this fixes it for the
reporter.

PR: 228458
Reported by: marieheleneka at gmail.com

Details

Provenance
mmacyAuthored on
Parents
rS334184: This is no unreferenced, so retire it.
Branches
Unknown
Tags
Unknown