Article View: linux.kernel.netdev
Article #27228Re: [PATCH net-next v6 4/6] selftests: seg6: explicit cleanup for SRv6 End PSP test
From: Andrea Mayer
Date: Sat, 05 Dec 2026 03:30
Date: Sat, 05 Dec 2026 03:30
29 lines
11063 bytes
11063 bytes
On Wed, 02 Dec 2026 16:46:30 +0800 Hangbin Liu <hangbin.liu@linux.dev> wrote: > From: Hangbin Liu <liuhangbin@kylinos.cn> > > The End PSP tests install policy and localsid state but rely on the > global namespace teardown to remove it. That leaves flavor-specific > state behind once more tests share this script. > > Use the defer helper to remove the configurations installed for the > PSP tests: > > * cafe::1, cafe::1:e9, cafe::2, cafe::2:e9 routes and proxy neighs > on rt1, rt2, and the cafe::1:e9, cafe::2:e9 addresses on the > hosts' loopback > * fcbb:0:x0e9::/48 End next-csid,psp policies on rt 1,2,3,4 > * fcff:x::0ef1 End psp policies on rt 1,2,4 > > After the change, we can wrap the whole end test with test_end_flv() > and run it separately. > > Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn> > [snip] Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it> Thanks, Andrea
Technical Details
Message-ID:
<20261205043026.f99e26627de3ef2cb70a847d@uniroma2.it>Path:
mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377813-linux-kernel-netdev=dewy.ruReferences:
<20261202-srv6_flavors_endx-v6-0-4e50b828e702@kylinos.cn> <20261202-srv6_flavors_endx-v6-4-4e50b828e702@kylinos.cn>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377813-linux-kernel-netdev=dewy.ru
From: andrea.mayer@uniroma2.it (Andrea Mayer)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v6 4/6] selftests: seg6: explicit cleanup for
SRv6 End PSP test
Date: Sat, 5 Dec 2026 04:30:26 +0100
Organization: Usenet Network
Message-ID: <20261205043026.f99e26627de3ef2cb70a847d@uniroma2.it>
References: <20261202-srv6_flavors_endx-v6-0-4e50b828e702@kylinos.cn>
<20261202-srv6_flavors_endx-v6-4-4e50b828e702@kylinos.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="2945066"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Ook3Q6ekeHYYQV1j5lG43JP2u/4= sha256:bNOe9z4ltbtXOjM8uuIbwuQrD9Vj9l8/vGinnyNqDC0=
sha1:s1NzoIeHn9TNW3H1GAGyA8OQv20= sha256:cYtWqp60HDcBw8KVFSmAvcVV99vGssOkGPMIncvk2I4=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id A09D0117D52; Sat, 5 Dec 2026 06:31:48 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -4.298
X-Spam-Status: No, score=-4.298 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001,
MAILING_LIST_MULTI=-1, NICE_REPLY_A=-1, RCVD_IN_DNSWL_MED=-2.3,
SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=neutral
reason="invalid (unsupported algorithm ed25519-sha256)"
header.d=uniroma2.it header.b=ADghqUug; dkim=pass (2048-bit key)
header.d=uniroma2.it header.b=ERvEaT/O
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id ZhxBMPNzY8HB;
Sat, 5 Dec 2026 06:31:46 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-377813-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=uniroma2.it
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 997D5117A32; Sat, 5 Dec 2026 06:31:28 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id 9897F37B57; Sat, 5 Dec 2026 03:31:00 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1796441459;
b=AnWtlelpwL3mnLHDtHnzZtTmUesrlxtQe7qVuXOKsxOR7PvgEVuSoKd0wzEfksFGPNVa
qJheZyH95aQRioLZD/4Z4F8Sr9h4MPYv0p1RbQz9uvWZLGEN4XjuM+4oY+601dlOGehR4
JDiaFLGlf03mG8u2wsJd7d2kT3+EB3scPfrMqLhCeRfmzKaEXC/hHQkVqoFgwR9wNEKDn
MRQlvAaf+2m30e4gTexJoJyjejgDFpPB0dCcbQcsazkp2b2fE7mcMz+MS/oinpZ/Drg4C
BYiHbMQizCGxe/0xX6Nl45IFSAaSKLH7oRCrVWBnW/LhQlnWu01+SnOp3xqLVL4A0yA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796441459;
h=X-Original-To:Received:DMARC-Filter:Received:Received:DKIM-Signature:
DKIM-Signature:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:
References:X-Mailer:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:Mime-Version:
Content-Type:Content-Transfer-Encoding:X-Virus-Scanned:
X-Virus-Status;
bh=SBwITc31Dy1oYLkMiEpeoKw7ZmLqrDlsgTLJ/zelD6g=;
b=f7o7SxIl998wPCbsP+zt455AMT9K3hMWV7dGToKFa02SPtgU+iN67eH/b2HnQ9lQ/MWf
jBU3+5zIi0GeFYsgzsGMGj6LEAMWsN9roE8Y+OmD3Z+0fccvXcisfWhG3amgZRrRtHL9Z
6TTkIk4YQd1tAl6RmZZ7QTNW/1+3U9W3DUpbMj+Wqj7Q95t/TjHpT8A0x9Lh9TofxOsVv
EPMQll6NpHEwnupXi57NOzdYioAYAFg49oKmXoZlUd569s2Zwyo1XXZy1Mb3ISerfSq/+
OFkEs0iBbig2e4bAL/4Dep8R8VxZjiQkQa0iN9Y5cYRtopVrTE9A7uBHU3NOz4/o1MA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=ADghqUug;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b="ERvEaT/O";
dmarc=pass header.from=uniroma2.it;
spf=pass smtp.mailfrom=uniroma2.it;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 85033606A33B;
Sat, 5 Dec 2026 03:30:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=ADghqUug;
dkim=pass (2048-bit key) header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=ERvEaT/O
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=160.80.4.32
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1796441458;
b=zrMlaIA5nSKIbI28/NypbVNUBFpvZkUlV9qwAxTn+ClaqR5Q/uNS3PoCeIAL9EoOFNlX
HwiEUZQAt+c3rMQV+WKJwjLSdRmJIfiIlnHRIkHo8gxU/fJN3Kj6cPbYI7gcVnjSn6JWB
mTBkluTdbVPKDSHtFLKeu0hVTmiw91Ua9c7WX6qn1ec6BenhKdx6zE4SUhatO0AxO6p0A
O5/jH9KRmKyI1uwsKqKKJaMpkaI0T1p6rIrU4TnmtbjWPGi38lT3ABYXbkPlSVmuMkdWd
UcqtbXhjR555SYV01kvIxo8Zsh3jITMDGoIJI1ZCXpPMmlMxHb+hCrTmwKh3pJfNtmA==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1796441458;
h=DMARC-Filter:Received:Received:DKIM-Signature:DKIM-Signature:Date:
From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:
Mime-Version:Content-Type:Content-Transfer-Encoding:X-Virus-Scanned:
X-Virus-Status;
bh=SBwITc31Dy1oYLkMiEpeoKw7ZmLqrDlsgTLJ/zelD6g=;
b=tXr/80Yt1PThP6Q+lNSp4HvWjgfVDGsqN20FGuRt9tXeY+gy8kRclYAVatssYeYRsrbW
+ghbkJbomMvNrM1PbOXC8DjCa09MzLt+WfQkgjqEmH4HqVjc3uJOcDZmGjgfWSgoDwN/2
fcwh/aEYOBANVMUOtYYv+yNU+5JYOxzzw/YI2V67IVYn2dBxyRYpMLqWCRs5tRhFoQcUz
nCtBCawZn/lZcWhlTs3GQ/Iwk/TAr4SSCeu8/4urzMpud89nYVOuc8TQ+7E76Q144G7e7
Es+O5x4fnFzYDcthc2uFMbBXH8WOsmULb5P63ISfX4oEcjaKcuKUF7qDeTCbx2lCfzg==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=uniroma2.it;
spf=pass smtp.mailfrom=uniroma2.it;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=ed25519-sha256 header.s=ed201904 header.b=ADghqUug;
dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b="ERvEaT/O";
arc=none smtp.remote-ip=160.80.4.32
X-Received: from smtp.uniroma2.it (smtp.uniroma2.it [160.80.4.32])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 2C88D606A32F;
Sat, 5 Dec 2026 03:30:57 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 2C88D606A32F
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniroma2.it
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniroma2.it
X-Received: from smtpauth-2019-1.uniroma2.it (smtpauth-2019-1.uniroma2.it [160.80.5.46])
by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id 6B53UUNi009102;
Sat, 5 Dec 2026 04:30:35 +0100
X-Received: from lubuntu-18.04 (unknown [160.80.103.126])
by smtpauth-2019-1.uniroma2.it (Postfix) with ESMTPSA id 5F5401206DD;
Sat, 5 Dec 2026 04:30:26 +0100 (CET)
X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=uniroma2.it;
s=ed201904; t=1796441426; h=from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=SBwITc31Dy1oYLkMiEpeoKw7ZmLqrDlsgTLJ/zelD6g=;
b=ADghqUugp29JWew/T2KtLEC2tMEZDA7ep0WfhKa2tcm4nYSlBmDM2/dXXPzg4a8Ct0pyAT
AqI/hDAgJ6O07KAg==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniroma2.it; s=rsa201904;
t=1796441426; h=from:from:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc:cc:mime-version:mime-version:
content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=SBwITc31Dy1oYLkMiEpeoKw7ZmLqrDlsgTLJ/zelD6g=;
b=ERvEaT/O7NFsLxQlWnm3DCvOS4hmCFmjFka0RFfhTluot4NgsgI2R4uNZSwvxm6xCDIEVy
xZvno+PCjoNGZkHKuZHUUH0oFZKOC9tsYZsqLz6bjZTawsGwwvb6UWAz6ncJY/NfKSX9Fk
kGRuGCs9ffloO9VrgCFNm8XJqFMbo1HJgH/VKgpaYo8+6E30+xwop6NbN/fSpAOS9uIcXu
W5A1pvBumfOSz7GQ+6jd1BHBPtmvWsfuQ1wp3ApIHCOObDiOygE+fWT3+wW/bviB+he+6v
DIKMx1WhbPYems3cVHiXfQY5QCki+uMj6My7IST8aFy+QCCuLlZ8v2zI+TBVYQ==
X-Cc: "David S. Miller" <davem@davemloft.net>,
Eric Dumazet
<edumazet@kernel.org>, Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni
<pabeni@redhat.com>, Simon Horman <horms@kernel.org>,
Shuah Khan
<shuah@kernel.org>, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
Hangbin Liu <liuhangbin@kylinos.cn>,
Stefano Salsano <stefano.salsano@uniroma2.it>,
Andrea Mayer
<andrea@common-net.org>,
Andrea Mayer <andrea.mayer@uniroma2.it>
X-In-Reply-To: <20261202-srv6_flavors_endx-v6-4-4e50b828e702@kylinos.cn>
X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015
X-Virus-Status: Clean