testing: selftests: nft_flowtable.sh: use random netns names
authorFlorian Westphal <fw@strlen.de>
Tue, 16 Aug 2022 12:15:21 +0000 (14:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Sep 2022 08:30:12 +0000 (10:30 +0200)
commita74fc94fb1a9bccef25de11f563e8a77bb1e9a1c
tree4c7d63dedd6aa41c5e9b8d8f875735000c05d5f9
parent1d8b5d251994ba99b49bb98f3b7f11e3aa4818a9
testing: selftests: nft_flowtable.sh: use random netns names

[ Upstream commit b71b7bfeac38c7a21c423ddafb29aa6258949df8 ]

"ns1" is a too generic name, use a random suffix to avoid
errors when such a netns exists.  Also allows to run multiple
instances of the script in parallel.

Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/netfilter/nft_flowtable.sh