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)
Fri, Nov 8, 3:24 AM
Unknown Object (File)
Oct 14 2024, 8:11 AM
Unknown Object (File)
Oct 9 2024, 12:04 PM
Unknown Object (File)
Sep 30 2024, 1:39 PM
Unknown Object (File)
Sep 21 2024, 6:05 AM
Unknown Object (File)
Sep 19 2024, 10:59 PM
Unknown Object (File)
Sep 17 2024, 5:48 AM
Unknown Object (File)
Sep 16 2024, 11:47 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable