]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix locking in uipc_accept().
authormarkj <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:23:42 +0000 (19:23 +0000)
committermarkj <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:23:42 +0000 (19:23 +0000)
commit167525a3cce4df0bb8c156d53a4beba241660e25
tree8b78e9d11eaa26d4bc3b02c7ae0d7d7e8ae9d78e
parentb57dfb8f9602edb7992d4e6e8e1915ea6ee7670c
Fix locking in uipc_accept().

This function wasn't converted to use the new locking protocol in
r333744.  Make it use the PCB lock for synchronizing connection state.

Tested by: pho
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D26300
sys/kern/uipc_usrreq.c