diff options
author | Zhengchao Shao <[email protected]> | 2023-06-01 09:22:50 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-06-01 21:40:28 -0700 |
commit | a395b8d1c7c3a074bfa83b9759a4a11901a295c5 (patch) | |
tree | 09fa51aa46eff8dab02cb38d27794ed2f3d091fa /tools/perf/scripts/python/net_dropmonitor.py | |
parent | e8b6f79b41840c542b7ef45c16b31dd17e1cc6e1 (diff) |
selftests/tc-testing: replace mq with invalid parent ID
The test case shown in [1] triggers the kernel to access the null pointer.
Therefore, add related test cases to mq.
The test results are as follows:
./tdc.py -e 0531
1..1
ok 1 0531 - Replace mq with invalid parent ID
./tdc.py -c mq
1..8
ok 1 ce7d - Add mq Qdisc to multi-queue device (4 queues)
ok 2 2f82 - Add mq Qdisc to multi-queue device (256 queues)
ok 3 c525 - Add duplicate mq Qdisc
ok 4 128a - Delete nonexistent mq Qdisc
ok 5 03a9 - Delete mq Qdisc twice
ok 6 be0f - Add mq Qdisc to single-queue device
ok 7 1023 - Show mq class
ok 8 0531 - Replace mq with invalid parent ID
[1] https://lore.kernel.org/all/[email protected]/
Signed-off-by: Zhengchao Shao <[email protected]>
Reviewed-by: Pedro Tammela <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions