selftests: ioam: refactoring to align with the fix
authorJustin Iurman <justin.iurman@uliege.be>
Mon, 19 Feb 2024 13:52:55 +0000 (14:52 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 22 Feb 2024 08:28:03 +0000 (09:28 +0100)
commit187bbb6968af5400e436c193765c5d845a07364f
treecc325a934f11610a55fbc919a38a81c36dbd7cce
parentf198d933c2e4f8f89e0620fbaf1ea7eac384a0eb
selftests: ioam: refactoring to align with the fix

ioam6_parser uses a packet socket. After the fix to prevent writing to
cloned skb's, the receiver does not see its IOAM data anymore, which
makes input/forward ioam-selftests to fail. As a workaround,
ioam6_parser now uses an IPv6 raw socket and leverages ancillary data to
get hop-by-hop options. As a consequence, the hook is "after" the IOAM
data insertion by the receiver and all tests are working again.

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/ioam6.sh
tools/testing/selftests/net/ioam6_parser.c
This page took 0.051844 seconds and 4 git commands to generate.