diff options
author | Pedro Tammela <pctammela@mojatatu.com> | 2023-11-24 12:42:47 -0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-11-27 18:15:43 -0800 |
commit | 501679f5d4a433144ae755dd2e5f757b1ce5a152 (patch) | |
tree | 73191fd874c2c606b381fcd6fe879115a8e20417 /net/core/page_pool_user.c | |
parent | 56e16bc69bb7d36a931111d8abdcd44b939751c4 (diff) |
selftests: tc-testing: cleanup on Ctrl-C
Cleanup net namespaces and other resources if we get a SIGINT (Ctrl-C).
As user visible resources are allocated on a per test basis, it's only
required to catch this condition when (possibly) running tests.
So far calling post_suite is enough to free up anything that might
linger.
A missing keyword replacement for nsPlugin is also included.
Signed-off-by: Pedro Tammela <pctammela@mojatatu.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Link: https://lore.kernel.org/r/20231124154248.315470-5-pctammela@mojatatu.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/core/page_pool_user.c')
0 files changed, 0 insertions, 0 deletions