From: Dave Seddon <dave.seddon.ca@gmail.com>
To: netdev@vger.kernel.org
Cc: Dave Seddon <dave.seddon.ca@gmail.com>,
Jamal Hadi Salim <jhs@mojatatu.com>,
Jiri Pirko <jiri@resnulli.us>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Willem de Bruijn <willemb@google.com>,
Simon Horman <horms@kernel.org>, Yotam Gigi <yotamg@mellanox.com>,
Thomas Graf <tgraf@suug.ch>, Shuah Khan <shuah@kernel.org>,
linux-kselftest@vger.kernel.org
Subject: [PATCH net 0/3] net/sched: fix the add notification of matchall and cgroup
Date: Sun, 29 Nov 2026 16:42:38 -0800 [thread overview]
Message-ID: <20261130004241.4025907-1-dave.seddon.ca@gmail.com> (raw)
mall_change() and cls_cgroup_change() do not return the new filter to
their caller, so the notification for a matchall or cgroup add has no
handle and no options. Patches 1 and 2 are the one-line fixes; patch 3
adds two tdc tests that fail without them.
The other classifiers already return the new filter.
Dave Seddon (3):
net/sched: cls_matchall: return the new filter from mall_change()
net/sched: cls_cgroup: return the new filter from cls_cgroup_change()
selftests: tc-testing: check the echoed matchall and cgroup add
net/sched/cls_cgroup.c | 1 +
net/sched/cls_matchall.c | 2 +-
.../tc-testing/tc-tests/filters/cgroup.json | 22 +++++++++++++++++++
.../tc-testing/tc-tests/filters/matchall.json | 22 +++++++++++++++++++
4 files changed, 46 insertions(+), 1 deletion(-)
base-commit: 28a371228d4eb4857cc31eeb1a0d7d01e9c3ea2f
--
2.56.0
next reply other threads:[~2026-11-30 0:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 0:42 Dave Seddon [this message]
2026-11-30 0:42 ` [PATCH net 1/3] net/sched: cls_matchall: return the new filter from mall_change() Dave Seddon
2026-11-30 0:42 ` [PATCH net 2/3] net/sched: cls_cgroup: return the new filter from cls_cgroup_change() Dave Seddon
2026-11-30 0:42 ` [PATCH net 3/3] selftests: tc-testing: check the echoed matchall and cgroup add Dave Seddon
2026-11-30 0:48 ` [PATCH net 0/3] net/sched: fix the add notification of matchall and cgroup netdev-bot+sinfo
2026-11-30 1:00 ` dave seddon
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=20261130004241.4025907-1-dave.seddon.ca@gmail.com \
--to=dave.seddon.ca@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=tgraf@suug.ch \
--cc=willemb@google.com \
--cc=yotamg@mellanox.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