diff options
| author | Victor Nogueira <victor@mojatatu.com> | 2026-10-01 12:32:01 -0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-06 17:59:06 -0700 |
| commit | 6fa2e7db99fb9ed67496c652fcfce5a31c6b73d0 (patch) | |
| tree | f830accc2b192bffefa05cfb9b15eb56827bd987 /tools/perf/scripts/python | |
| parent | b72e025ac556984766392001e74b7587e145bcd0 (diff) | |
| download | linux-6fa2e7db99fb9ed67496c652fcfce5a31c6b73d0.tar.gz linux-6fa2e7db99fb9ed67496c652fcfce5a31c6b73d0.zip | |
selftests: tc-testing: add cls_route no-routing-attribute change tests
Add a boundary pair for route4 change without a routing attribute:
- a classid-only change of a wildcard filter (handle 0xffff8000) is a
metadata-only update and must succeed;
- the same change on a non-wildcard handle (0x10001) would rekey the
filter to the wildcard bucket, leaving the handle userspace stored stale,
and must be rejected with -EINVAL.
The change of a wildcard filter is the flow iproute2 uses by default
("tc filter add ... route classid X:Y" gives handle 0xffff8000).
Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Victor Nogueira <victor@mojatatu.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/QDISC-0JB3.v1.20260923100921@mojatatu.com.2
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
