[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4ae464c4-9ba8-6011-e904-592bd9e8484b@6wind.com>
Date: Tue, 12 Jul 2022 11:19:12 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Paolo Abeni <pabeni@...hat.com>,
"David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Eric Dumazet <edumazet@...gle.com>,
David Ahern <dsahern@...nel.org>
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net 2/2] selftests/net: test nexthop without gw
Le 12/07/2022 à 10:19, Paolo Abeni a écrit :
[snip]
>> +################################################################################
>> +# config
>> +setup()
>> +{
>> + ip netns add h1
>> + ip -n h1 link set lo up
>> + ip netns add h2
>> + ip -n h2 link set lo up
>> + sleep 1
>
> Why is this needed here? same question for the 'sleep 2' after the
> setup.
The 'sleep 2' after the setup was 'copy & paste'. I will remove it.
The bug was initially spotted in 'init_net' and when I first tried to reproduce
it with netns, I didn't succeed without the 'sleep 1'. I didn't analyzed more
deeply. In fact, when I replay the test now, it fails as expected.
Let's remove it also.
Powered by blists - more mailing lists