Page MenuHomeFreeBSD

[unix(4) cleanup 7/8] Fix locking in uipc_accept().
ClosedPublic

Authored by markj on Sep 2 2020, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 13, 4:23 AM
Unknown Object (File)
Mar 7 2024, 12:43 PM
Unknown Object (File)
Jan 13 2024, 11:31 AM
Unknown Object (File)
Jan 13 2024, 5:22 AM
Unknown Object (File)
Dec 21 2023, 10:11 AM
Unknown Object (File)
Dec 20 2023, 12:39 AM
Unknown Object (File)
Dec 17 2023, 6:54 PM
Unknown Object (File)
Sep 3 2023, 6:41 AM
Subscribers

Details

Summary

This function wasn't converted to use the new locking protocol in
r333744. Make sure that it uses the PCB lock. Found by code
inspection.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj requested review of this revision.Sep 2 2020, 5:00 PM
markj created this revision.

Use unp_pcb_unlock_pair().

This revision was not accepted when it landed; it landed in state Needs Review.Sep 15 2020, 7:24 PM
This revision was landed with ongoing or failed builds.
Closed by commit rS365765: Fix locking in uipc_accept(). (authored by markj). · Explain Why
This revision was automatically updated to reflect the committed changes.