aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/vmd/(public-mirror)
diff options
context:
space:
mode:
authorR. Christian McDonald <rcm@FreeBSD.org>2026-09-30 22:56:22 +0000
committerR. Christian McDonald <rcm@FreeBSD.org>2026-09-30 22:56:22 +0000
commitc1241c6e30c792fb514f4689d2ed92ee21d3cf39 (patch)
treeabafa00ad8fcc4e9b5fd9be578e8a1b5eccff761 /sys/dev/vmd/(public-mirror)
parent3171a60de403b9088b870d38377039ab9718b7db (diff)
pf: modify pfik_flags atomicallyHEADmain
The purge thread sets PFI_IFLAG_REFS on the interfaces that states refer to without the rules lock, under which the other flags are changed. The updates can interleave, so that a "set skip on" is lost, or outlives its removal, until the next ruleset load. Use atomic operations to modify the flags. In the purge thread, only write if the flag is not already set. Reviewed by: kp Approved by: kp (mentor) MFC after: 1 week Sponsored by: Rubicon Communications, LLC ("Netgate") Differential Revision: https://reviews.freebsd.org/D60107
Diffstat (limited to 'sys/dev/vmd/(public-mirror)')
0 files changed, 0 insertions, 0 deletions