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