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, May 4, 10:42 AM
Unknown Object (File)
Sat, May 4, 9:40 AM
Unknown Object (File)
Apr 11 2024, 8:39 PM
Unknown Object (File)
Jan 12 2024, 6:16 PM
Unknown Object (File)
Dec 20 2023, 4:41 AM
Unknown Object (File)
Dec 12 2023, 12:05 AM
Unknown Object (File)
Nov 21 2023, 2:21 AM
Unknown Object (File)
Oct 30 2023, 4:17 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable