Mateusz Guzik dc1ab04e4c pf: allow table stats clearing and reading with ruleset rlock
Instead serialize against these operations with a dedicated lock.

Prior to the change, When pushing 17 mln pps of traffic, calling
DIOCRGETTSTATS in a loop would restrict throughput to about 7 mln.  With
the change there is no slowdown.

Reviewed by:	kp (previous version)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2021-07-05 10:42:01 +02:00
..
2019-10-17 21:33:01 +00:00
2019-10-17 21:33:01 +00:00
2019-12-21 21:01:03 +00:00
2021-05-03 14:38:52 +03:00
2019-07-14 03:49:48 +00:00
2019-03-09 01:12:59 +00:00
2021-01-29 21:43:20 +00:00
2020-12-29 17:35:06 +01:00
2019-07-25 22:23:34 +00:00
2021-06-23 10:20:58 -06:00
2021-06-24 13:00:56 +02:00
2020-11-20 14:45:45 +00:00
2021-04-02 07:01:20 +00:00
2020-10-16 11:22:29 +00:00
2021-04-10 13:48:25 +00:00
2018-06-16 19:21:09 +00:00
2021-02-11 16:12:29 +01:00