Page MenuHomeFreeBSD

pf: Fix definitions of pf_pfil_*_hooked
ClosedPublic

Authored by markj on Dec 13 2022, 2:37 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 4:22 PM
Unknown Object (File)
Sat, Oct 26, 3:59 AM
Unknown Object (File)
Oct 6 2024, 2:41 AM
Unknown Object (File)
Sep 30 2024, 8:18 PM
Unknown Object (File)
Sep 30 2024, 4:34 AM
Unknown Object (File)
Sep 30 2024, 4:26 AM
Unknown Object (File)
Sep 30 2024, 2:21 AM
Unknown Object (File)
Sep 17 2024, 2:51 PM

Details

Summary

This use of "volatile" in the vnet definitions doesn't have any effect.
VNET_DEFINE_STATE(volatile int, ...) should work, but let's avoid using
"volatile" altogether and convert to atomic_load/atomic_store.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable