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
F104026658: D26300.id76552.diff
Mon, Dec 2, 2:14 PM
Unknown Object (File)
Wed, Nov 27, 3:38 AM
Unknown Object (File)
Thu, Nov 14, 2:41 PM
Unknown Object (File)
Wed, Nov 6, 1:22 AM
Unknown Object (File)
Nov 1 2024, 7:47 PM
Unknown Object (File)
Nov 1 2024, 7:47 PM
Unknown Object (File)
Nov 1 2024, 7:47 PM
Unknown Object (File)
Nov 1 2024, 7:47 PM
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.