]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit - sys/kern/uipc_usrreq.c
Fix locking in uipc_accept().
authorMark Johnston <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:23:42 +0000 (19:23 +0000)
committerMark Johnston <markj@FreeBSD.org>
Tue, 15 Sep 2020 19:23:42 +0000 (19:23 +0000)
commit448000279e09360a06f9485349c8ef4c817c641f
tree8b78e9d11eaa26d4bc3b02c7ae0d7d7e8ae9d78e
parentccdadf1a9bb64156e4a62bb6207c37b841467cb7
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