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)
Thu, Nov 14, 2:41 PM
Unknown Object (File)
Wed, Nov 6, 1:22 AM
Unknown Object (File)
Fri, Nov 1, 7:47 PM
Unknown Object (File)
Fri, Nov 1, 7:47 PM
Unknown Object (File)
Fri, Nov 1, 7:47 PM
Unknown Object (File)
Fri, Nov 1, 7:47 PM
Unknown Object (File)
Fri, Nov 1, 7:25 PM
Unknown Object (File)
Wed, Oct 30, 2:45 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.