Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH net 0/2] net/sched: reject binding actions with a goto chain of another block
@ 2026-12-06 10:20 Muhammad Umer
  2026-12-06 10:20 ` [PATCH net 1/2] net/sched: act_api: reject binding actions that jump to " Muhammad Umer
  2026-12-06 10:20 ` [PATCH net 2/2] selftests/tc-testing: add gact goto chain cross-block bind tests Muhammad Umer
  0 siblings, 2 replies; 3+ messages in thread
From: Muhammad Umer @ 2026-12-06 10:20 UTC (permalink / raw)
  To: jhs, jiri
  Cc: davem, edumazet, kuba, pabeni, horms, willemb, shuah, netdev,
	linux-kselftest

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-06 10:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-06 10:20 [PATCH net 0/2] net/sched: reject binding actions with a goto chain of another block Muhammad Umer
2026-12-06 10:20 ` [PATCH net 1/2] net/sched: act_api: reject binding actions that jump to " Muhammad Umer
2026-12-06 10:20 ` [PATCH net 2/2] selftests/tc-testing: add gact goto chain cross-block bind tests Muhammad Umer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox