Re: [PATCH net] selftest/net: skip srv6_end_d[t/x][4/6]_*_test.sh if iproute2 too old

From: Hangbin Liu

Date: Tue Aug 25 2026 - 04:45:40 EST


On Tue, Aug 25, 2026 at 04:39:55PM +0800, Hangbin Liu wrote:
> On Mon, Aug 24, 2026 at 11:15:37AM +0200, Alessio Faina wrote:
> > In case iproute2 is older than version 5.14.0, released ~Sept 1, 2021,
> > the End.DT4/DT6/DX4/DX6 support are not available and the tests
> > contained in the following 4 test files
> > - srv6_end_dt4_l3vpn_test.sh
> > - srv6_end_dt6_l3vpn_test.sh
> > - srv6_end_dx4_netfilter_test.sh
> > - srv6_end_dx6_netfilter_test.sh
> > are failing in some kernel backports.
> > This is the result of one those tests in an unsupported environment:
> >
> > \################################################################################
> > \TEST SECTION: SRv6 VPN connectivity test among hosts in the same tenant
> > \################################################################################
> > \
> > \ TEST: Hosts connectivity: hs-t100-1 -> hs-t100-2 (tenant 100) [FAIL]
> > \
> > \ TEST: Hosts connectivity: hs-t100-2 -> hs-t100-1 (tenant 100) [FAIL]
> > \
> > \ TEST: Hosts connectivity: hs-t200-3 -> hs-t200-4 (tenant 200) [FAIL]
> > \
> > \ TEST: Hosts connectivity: hs-t200-4 -> hs-t200-3 (tenant 200) [FAIL]
> > \
> >
> > To amend this, check the current running iproute2 supports the required
> > feature and, if not, just skip the entire test to avoid a failure.
> >
> > This is similar to what have been done for srv6_end_dt46_l3vpn_test.sh in
> > https://patchwork.kernel.org/project/netdevbpf/patch/20260715122859.36177-1-alessio.faina@xxxxxxxxxxxxx/
> >
> > Signed-off-by: Alessio Faina <alessio.faina@xxxxxxxxxxxxx>
> >
>
> LGTM
>
> Reviewed-by: Hangbin Liu <liuhangbin@xxxxxxxxxx>

Oh, I just noticed this patch is better for net‑next.

Please wait for Jakub's reply. If not, You need to re-post it once net-next
opens again (Aug 31th).

Thanks
Hangbin