On Tue, 15 Oct 2024 09:08:16 +0800 Li Zhijian wrote:
readonly STATS="$(mktemp -p /tmp ns-XXXXXX)" readonly BASE=`basename $STATS`
It would 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.
Shuah already mentioned this, this patch needs to be posted separately as it would go via the networking tree.