diff options
author | Matthieu Baerts <[email protected]> | 2021-09-01 10:15:37 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2021-09-01 10:55:49 -0700 |
commit | bfd862a7e9318dd906844807a713d27cdd1a72b1 (patch) | |
tree | 306543d6fd15ed7268a931143ea5c74c77a46eb4 /tools/perf/util/trace-event-scripting.c | |
parent | 1094c6fe7280e17e0e87934add5ad2585e990def (diff) |
selftests: mptcp: clean tmp files in simult_flows
'$cin' and '$sin' variables are local to a function: they are then not
available from the cleanup trap.
Instead, we need to use '$large' and '$small' that are not local and
defined just before setting the trap.
Without this patch, running this script in a loop might cause a:
write: No space left on device
issue.
Fixes: 1a418cb8e888 ("mptcp: simult flow self-tests")
Acked-by: Paolo Abeni <[email protected]>
Signed-off-by: Matthieu Baerts <[email protected]>
Signed-off-by: Mat Martineau <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions