Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/3] net/sched: fix the add notification of matchall and cgroup
@ 2026-11-30  0:42 Dave Seddon
  2026-11-30  0:42 ` [PATCH net 1/3] net/sched: cls_matchall: return the new filter from mall_change() Dave Seddon
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Dave Seddon @ 2026-11-30  0:42 UTC (permalink / raw)
  To: netdev
  Cc: Dave Seddon, Jamal Hadi Salim, Jiri Pirko, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Willem de Bruijn,
	Simon Horman, Yotam Gigi, Thomas Graf, Shuah Khan,
	linux-kselftest

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


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

end of thread, other threads:[~2026-11-30  1:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-30  0:42 [PATCH net 0/3] net/sched: fix the add notification of matchall and cgroup Dave Seddon
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

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