diff options
| author | R. Christian McDonald <rcm@FreeBSD.org> | 2026-09-30 22:56:22 +0000 |
|---|---|---|
| committer | R. Christian McDonald <rcm@FreeBSD.org> | 2026-09-30 22:56:22 +0000 |
| commit | c1241c6e30c792fb514f4689d2ed92ee21d3cf39 (patch) | |
| tree | abafa00ad8fcc4e9b5fd9be578e8a1b5eccff761 /sys/dev/vmd/(public-mirror) | |
| parent | 3171a60de403b9088b870d38377039ab9718b7db (diff) | |
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
