[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1673191942.git.gnault@redhat.com>
Date: Sun, 8 Jan 2023 16:45:31 +0100
From: Guillaume Nault <gnault@...hat.com>
To: David Miller <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
Eric Dumazet <edumazet@...gle.com>
Cc: netdev@...r.kernel.org, Shuah Khan <shuah@...nel.org>,
Matthias May <matthias.may@...termo.com>,
linux-kselftest@...r.kernel.org,
Mirsad Goran Todorovac <mirsad.todorovac@....unizg.hr>
Subject: [PATCH net 0/3] selftests/net: Isolate l2_tos_ttl_inherit.sh in its
own netns.
l2_tos_ttl_inherit.sh uses a veth pair to run its tests, but only one
of the veth interfaces runs in a dedicated netns. The other one remains
in the initial namespace where the existing network configuration can
interfere with the setup used for the tests.
Isolate both veth devices in their own netns and ensure everything gets
cleaned up when the script exits.
Link: https://lore.kernel.org/netdev/924f1062-ab59-9b88-3b43-c44e73a30387@alu.unizg.hr/
Guillaume Nault (3):
selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".
selftests/net: l2_tos_ttl_inherit.sh: Run tests in their own netns.
selftests/net: l2_tos_ttl_inherit.sh: Ensure environment cleanup on
failure.
.../selftests/net/l2_tos_ttl_inherit.sh | 202 +++++++++++-------
1 file changed, 129 insertions(+), 73 deletions(-)
--
2.30.2
Powered by blists - more mailing lists