K 10 svn:author V 3 mjg K 8 svn:date V 27 2021-07-14T14:58:33.497305Z K 7 svn:log V 542 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") (cherry picked from commit dc1ab04e4c9ede3606985e0cce1200e3060ac166) Git Hash: 7267f83272b148f8734c0ced0489ff1022c1f68d Git Author: mjg@FreeBSD.org END