diff options
| author | Breno Leitao <leitao@debian.org> | 2025-11-07 06:03:38 -0800 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-10 18:34:44 -0800 |
| commit | 39acc6a95eefcf814efa226d8813f89e7e03496e (patch) | |
| tree | da005a20d2c03510fd27aa78029d89b348763d37 /net/unix/af_unix.c | |
| parent | 49c8d2c1f94cc2f4d1a108530d7ba52614b874c2 (diff) | |
selftest: netcons: refactor target creation
Extract the netconsole target creation from create_dynamic_target(), by
moving it from create_dynamic_target() into a new helper function. This
enables other tests to use the creation of netconsole targets with
arbitrary parameters and no sleep.
The new helper will be utilized by forthcoming torture-type selftests
that require dynamic target management.
Signed-off-by: Breno Leitao <leitao@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20251107-netconsole_torture-v10-2-749227b55f63@debian.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
