diff options
| author | Petr Machata <[email protected]> | 2024-10-17 09:45:52 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2024-10-22 11:33:48 +0000 |
| commit | cebd281f3c753dcbd48b455bdbc6549889196aa0 (patch) | |
| tree | c2548d4896c4c375f8594f13e54c9bed13da3a7e /drivers/net/netconsole.c | |
| parent | selftests: mlxsw: qos_max_descriptors: Use defer for test cleanup (diff) | |
| download | kernel-cebd281f3c753dcbd48b455bdbc6549889196aa0.tar.gz kernel-cebd281f3c753dcbd48b455bdbc6549889196aa0.zip | |
selftests: mlxsw: devlink_trap_police: Use defer for test cleanup
Use the defer framework to schedule cleanups as soon as the command is
executed.
Note that the start_traffic commands in __burst_test() are each sending a
fixed number of packets (note the -c flag) and then ending. They therefore
do not need a matching stop_traffic.
Signed-off-by: Petr Machata <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/net/netconsole.c')
0 files changed, 0 insertions, 0 deletions
