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
This commit is contained in:
parent
dc78428796
commit
9938fcaa65
2
sbin/pfctl/tests/files/pf1006.in
Normal file
2
sbin/pfctl/tests/files/pf1006.in
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
altq on igb0 fairq bandwidth 1Gb queue { qLink }
|
||||||
|
queue qLink fairq(default)
|
2
sbin/pfctl/tests/files/pf1006.ok
Normal file
2
sbin/pfctl/tests/files/pf1006.ok
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
altq on igb0 fairq bandwidth 1Gb tbrsize 36000 queue { qLink }
|
||||||
|
queue qLink fairq( default )
|
@ -116,3 +116,4 @@ PFCTL_TEST(1002, "Set timeout interval")
|
|||||||
PFCTL_TEST(1003, "ALTQ")
|
PFCTL_TEST(1003, "ALTQ")
|
||||||
PFCTL_TEST(1004, "ALTQ with Codel")
|
PFCTL_TEST(1004, "ALTQ with Codel")
|
||||||
PFCTL_TEST(1005, "PR 231323")
|
PFCTL_TEST(1005, "PR 231323")
|
||||||
|
PFCTL_TEST(1006, "pfctl crashes with certain fairq configurations")
|
||||||
|
Loading…
Reference in New Issue
Block a user