diff options
| author | Li Zhijian <[email protected]> | 2024-10-30 00:59:43 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-01 02:21:36 +0000 |
| commit | d3774a4b21e98c336d71d67b7605d91f344524c9 (patch) | |
| tree | 7498bea52295a5b3dfd7127e6c00dd68b079c7ec /drivers/net/dsa/dsa_loop.c | |
| parent | selftests: netdevsim: add fib_notifications to Makefile (diff) | |
| download | kernel-d3774a4b21e98c336d71d67b7605d91f344524c9.tar.gz kernel-d3774a4b21e98c336d71d67b7605d91f344524c9.zip | |
selftests/net: Fix ./ns-XXXXXX not cleanup
```
readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
readonly BASE=`basename $STATS`
```
It could be a mistake to write to $BASE rather than $STATS, where $STATS
is used to save the NSTAT_HISTORY and it will be cleaned up before exit.
Although since we've been creating the wrong file this whole time and
everything worked, it's fine to remove these 2 lines completely
Signed-off-by: Li Zhijian <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
