]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
pfctl tests: Test fairq configuration
authorKristof Provost <kp@FreeBSD.org>
Wed, 19 May 2021 07:52:50 +0000 (09:52 +0200)
committerKristof Provost <kp@FreeBSD.org>
Thu, 27 May 2021 07:10:53 +0000 (09:10 +0200)
commit2f0a80794895a67c8b5882144c8b1e41c4fa8688
tree1c57160fccab7977d4e0480b004c3a2955e4d370
parenta4ceb1e192e66b1f38e712bb777014a977f8f3fe
pfctl tests: Test fairq configuration

We used to have a bug where pfctl could crash setting fairq queues. Test
this case and ensure it does not crash pfctl.

Reviewed by: donner
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D30348

(cherry picked from commit 9938fcaa6565a660c555a0e9c712842ba1a2d31c)
sbin/pfctl/tests/files/pf1006.in [new file with mode: 0644]
sbin/pfctl/tests/files/pf1006.ok [new file with mode: 0644]
sbin/pfctl/tests/pfctl_test_list.inc