A tc filter can bind an existing action by index. When that action
holds a goto chain of another block, classification continues in that
block and the qdisc owning the binding filter can receive class
pointers belonging to a different qdisc.
Patch 1 rejects such binds, patch 2 adds tc-testing cases for it.
Muhammad Umer (2):
net/sched: act_api: reject binding actions that jump to another block
selftests/tc-testing: add gact goto chain cross-block bind tests
net/sched/act_api.c | 28 ++++++++++
.../actions/gact-goto-chain-block.json | 54 +++++++++++++++++++
2 files changed, 82 insertions(+)
create mode 100644 tools/testing/selftests/tc-testing/tc-tests/actions/gact-goto-chain-block.json
--
2.53.0