Re: [PATCH nf] selftests: netfilter: use randomized netns names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon,  2 Dec 2019 18:35:40 +0100
Florian Westphal <fw@xxxxxxxxx> wrote:

> Using ns0, ns1, etc. isn't a good idea, they might exist already.
> Use a random suffix.

Incidentally, this was the same approach we originally used in
net/pmtu.sh, and after a while it proved to be quite inconvenient, leading
to commit a92a0a7b8e7c ("selftests: pmtu: Simplify cleanup and namespace
names").

I'm not sure this is necessarily the case here, though, as nft_nat.sh
doesn't implement pause-on-fail.

-- 
Stefano




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux