summaryrefslogtreecommitdiff
path: root/scripts/basic/split-include.c
diff options
context:
space:
mode:
authorXuanqiang Luo <luoxuanqiang@kylinos.cn>2026-09-09 15:03:36 +0800
committerJakub Kicinski <kuba@kernel.org>2026-09-10 09:06:05 -0700
commit2a86bbed9f60702e97a8194e40f90f4db22d7795 (patch)
treea8c03e34c16714522b01bcf5e9db38788ce24b6c /scripts/basic/split-include.c
parent478eb5abb51931a152abab068f8a717b7ff480fd (diff)
downloadlinux-2a86bbed9f60702e97a8194e40f90f4db22d7795.tar.gz
linux-2a86bbed9f60702e97a8194e40f90f4db22d7795.zip
selftests: tc-testing: test action batch failure cleanup
Add tests for cleanup after a batched RTM_NEWACTION request fails. Replace an existing gact action bound to a filter, then fail a later entry by requesting goto chain without a classifier context. Check that the bound action's reference count returns to its original value. Also cover a successfully initialized new action between the bound action and the failing entry, verifying that its reserved index can be reused. Repeat the bound action in another batch to check that each temporary reference to the same action is released. Signed-off-by: Xuanqiang Luo <luoxuanqiang@kylinos.cn> Reviewed-by: Jamal Hadi Salim <jhs@mojatatu.com> Link: https://patch.msgid.link/20260909070336.32979-3-xuanqiang.luo@linux.dev Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/basic/split-include.c')
0 files changed, 0 insertions, 0 deletions