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)
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)
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
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

Lint
Lint Warnings
SeverityLocationCodeMessage
Warningsys/kern/uipc_usrreq.c:508SPELL1Possible Spelling Mistake
Unit
No Test Coverage
Build Status
Buildable 33338
Build 30649: arc lint + arc unit

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.