From: Muhammad Umer <mumer.mobi@gmail.com>
To: jhs@mojatatu.com, jiri@resnulli.us
Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
pabeni@redhat.com, horms@kernel.org, willemb@google.com,
shuah@kernel.org, netdev@vger.kernel.org,
linux-kselftest@vger.kernel.org
Subject: [PATCH net 0/2] net/sched: reject binding actions with a goto chain of another block
Date: Sun, 6 Dec 2026 05:20:10 -0500 [thread overview]
Message-ID: <20261206102012.2264-1-mumer.mobi@gmail.com> (raw)
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
next reply other threads:[~2026-12-06 10:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-06 10:20 Muhammad Umer [this message]
2026-12-06 10:20 ` [PATCH net 1/2] net/sched: act_api: reject binding actions that jump to another block Muhammad Umer
2026-12-06 10:20 ` [PATCH net 2/2] selftests/tc-testing: add gact goto chain cross-block bind tests Muhammad Umer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261206102012.2264-1-mumer.mobi@gmail.com \
--to=mumer.mobi@gmail.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=horms@kernel.org \
--cc=jhs@mojatatu.com \
--cc=jiri@resnulli.us \
--cc=kuba@kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=shuah@kernel.org \
--cc=willemb@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox