Page MenuHomeFreeBSD

inpcb: use epoch protection when doing prison checks
ClosedPublic

Authored by glebius on Dec 8 2021, 6:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 7, 3:29 AM
Unknown Object (File)
Thu, Sep 24, 3:04 PM
Unknown Object (File)
Wed, Sep 23, 2:16 PM
Unknown Object (File)
Wed, Sep 23, 5:03 AM
Unknown Object (File)
Fri, Sep 18, 9:13 AM
Unknown Object (File)
Sun, Sep 13, 9:33 AM
Unknown Object (File)
Fri, Sep 11, 1:29 AM
Unknown Object (File)
Tue, Sep 8, 10:54 AM
Subscribers

Details

Summary

The pcb lookup always happens in the network epoch and in SMR section.
We can't block on a mutex due to the latter. Now that prison address
lists are protected by the network epoch, use the locked variant of KPI.

Fixes: de2d47842e8

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43240
Build 40128: arc lint + arc unit