FreeBSD/src 1d34c9d (r343287) — sbin/pfctl pfctl_altq.c pfctl_parser.c
Reduce pf.conf parsing cost for configs that define N queues from O(N^2) to O(N) The number of syscalls made during parsing of any config that defines tables is also reduced, and incorrect warnings that HFSC parent queue bandwidths were smaller than the sum of their child bandwidths have been fixed. Reviewed by: kp MFC after: 1 week Sponsored by: RG Nets Differential Revision: https://reviews.freebsd.org/D18759
Delta | File | |
---|---|---|
+244 | -303 | sbin/pfctl/pfctl_altq.c |
+121 | -23 | sbin/pfctl/pfctl_parser.c |
+22 | -4 | sbin/pfctl/pfctl_parser.h |
+0 | -1 | sbin/pfctl/pfctl.h |
+387 | -331 | 4 files |