freebsd-dev/sys/netpfil
Kristof Provost 5904868691 pf :Use counter(9) in pf tables.
The counters of pf tables are updated outside the rule lock. That means state
updates might overwrite each other. Furthermore allocation and
freeing of counters happens outside the lock as well.

Use counter(9) for the counters, and always allocate the counter table
element, so that the race condition cannot happen any more.

PR:		230619
Submitted by:	Kajetan Staszkiewicz <vegeta@tuxpowered.net>
Reviewed by:	glebius
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D19558
2019-03-15 11:08:44 +00:00
..
ipfw PFIL_MEMPTR for ipfw link level hook 2019-03-14 22:52:16 +00:00
pf pf :Use counter(9) in pf tables. 2019-03-15 11:08:44 +00:00