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)
Sat, Feb 15, 11:34 AM
Unknown Object (File)
Mon, Feb 10, 1:17 AM
Unknown Object (File)
Tue, Jan 28, 11:47 PM
Unknown Object (File)
Thu, Jan 23, 12:36 PM
Unknown Object (File)
Dec 6 2024, 11:13 PM
Unknown Object (File)
Dec 2 2024, 1:20 AM
Unknown Object (File)
Dec 2 2024, 1:19 AM
Unknown Object (File)
Dec 2 2024, 1:19 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