freebsd-dev/sys/netpfil
Kristof Provost 133935d26f pf: atomically increment state ids
Rather than using a per-cpu state counter, and adding in the CPU id we
can atomically increment the number.
This has the advantage of removing the assumption that the CPU ID fits
in 8 bits.

Event:		Aberdeen Hackathon 2022
Reviewed by:	mjg
Differential Revision:	https://reviews.freebsd.org/D36915
2022-10-08 18:27:29 +02:00
..
ipfilter/netinet ipfilter: Cast uintmax_t values to size_t when adding to a pointer. 2022-09-28 13:58:34 -07:00
ipfw netpfil: Correct some typos in source code comments 2022-09-04 12:46:05 +02:00
pf pf: atomically increment state ids 2022-10-08 18:27:29 +02:00