]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
AF_UNIX: It is possible for UNIX datagram sockets to be connected
authorMatt Macy <mmacy@FreeBSD.org>
Thu, 24 May 2018 21:13:46 +0000 (21:13 +0000)
committerMatt Macy <mmacy@FreeBSD.org>
Thu, 24 May 2018 21:13:46 +0000 (21:13 +0000)
commitacf9fd05d83c72b5e5f55c032d28676f3641a01a
treeee133217b75aa50aa279021ccb6daf9567f0b0ae
parent509b94387ab8011705b31e805cdb57e89e7ad72b
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
sys/kern/uipc_usrreq.c