Skip to content

selftests/net: Isolate l2_tos_ttl_inherit.sh in its own netns.

Guillaume Nault linux-kselftest netdev 1 version Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesApplied 3/3

Patches in v1 All 3 applied

#Subject and filesSizeRepliesApplied
1/3selftests/net: l2_tos_ttl_inherit.sh: Set IPv6 addresses with "nodad".tools/testing/selftests/net/l2_tos_ttl_inherit.sh+4 -40 repliesApplied
2/3selftests/net: l2_tos_ttl_inherit.sh: Run tests in their own netns.tools/testing/selftests/net/l2_tos_ttl_inherit.sh+93 -690 repliesApplied
3/3selftests/net: l2_tos_ttl_inherit.sh: Ensure environment cleanup on failure.tools/testing/selftests/net/l2_tos_ttl_inherit.sh+36 -40 repliesApplied

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchMirsad Goran Todorovac
1/3
2/3T-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [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.

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(-)
Signature · 1 line
2.30.2