[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20241015084334.07bf266d@kernel.org>
Date: Tue, 15 Oct 2024 08:43:34 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Li Zhijian <lizhijian@...itsu.com>
Cc: linux-kselftest@...r.kernel.org, Shuah Khan <shuah@...nel.org>,
linux-kernel@...r.kernel.org, "David S. Miller" <davem@...emloft.net>, Eric
Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH 2/3] selftests/net: Fix ./ns-XXXXXX not cleanup
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.
--
pw-bot: cr
Powered by blists - more mailing lists