🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #24388

Re: [PATCH net-next v5 1/5] seg6: split final End process out of flavor processing

#24388
From: Andrea Mayer
Date: Mon, 30 Nov 2026 03:55
28 lines
11005 bytes
On Thu, 26 Nov 2026 14:27:23 +0800
Hangbin Liu <hangbin.liu@linux.dev> wrote:

> From: Hangbin Liu <liuhangbin@kylinos.cn>
>
> Move the final End forwarding step out of end_flv8986_core() and return
> success to the caller instead.
>
> Currently end_flv8986_core() performs both RFC8986 flavor processing and
> final End forwarding by calling input_action_end_finish(). That couples
> flavor handling with the End-specific forwarding path, which makes it
> unable to reuse the same flavor logic for other End variants.
>
> Split the two steps so input_action_end() does:
>   1) end_flv8986_core() for flavor processing
>   2) input_action_end_finish() for final forwarding
>
> This keeps end_flv8986_core() focused on RFC8986/PSP flavor semantics
> and makes it easier to plug the same flavor core into End.X/T later.
>
> Signed-off-by: Hangbin Liu <liuhangbin@kylinos.cn>
> [snip]

Reviewed-by: Andrea Mayer <andrea.mayer@uniroma2.it>

Thanks,
Andrea
Technical Details
Message-ID: <20261130045518.2887df44ef1a21794bee1a6b@uniroma2.it>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373857-linux-kernel-netdev=dewy.ru
References: <20261126-srv6_flavors_endx-v5-0-4d8232eec404@kylinos.cn> <20261126-srv6_flavors_endx-v5-1-4d8232eec404@kylinos.cn>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-373857-linux-kernel-netdev=dewy.ru
From: andrea.mayer@uniroma2.it (Andrea Mayer)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 1/5] seg6: split final End process out of
 flavor processing
Date: Mon, 30 Nov 2026 04:55:18 +0100
Organization: Usenet Network
Message-ID: <20261130045518.2887df44ef1a21794bee1a6b@uniroma2.it>
References: <20261126-srv6_flavors_endx-v5-0-4d8232eec404@kylinos.cn>
 <20261126-srv6_flavors_endx-v5-1-4d8232eec404@kylinos.cn>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="1327281"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:UbBsqdcTkbD4EspBIuD73JYcaO4= sha256:uQ8CowvfLxyPWrHPowq03Ksz+Mr/ju7M4jKlp8HwHM8=
	sha1:R+1V6pnwZEyIMfo7G5pPGp4vpDQ= sha256:ProNPYSIR29zgg72IAl5tHH4E3N3tVG0dV7pyyb+dBc=
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 55D03125FBD; Mon, 30 Nov 2026 06:56:26 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -4.875
X-Spam-Status: No, score=-4.875 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	NICE_REPLY_A=-1.724, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-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=+rs8TzZj; dkim=pass (2048-bit key)
	header.d=uniroma2.it header.b=Nu7gP3fd
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 WMdXd0UpZrf6;
	Mon, 30 Nov 2026 06:56:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-373857-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 57BBC125FBC; Mon, 30 Nov 2026 06:56:08 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 45B1D60063D; Mon, 30 Nov 2026 03:55:59 +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=1796010959;
	b=fAt9134oc52tAEcoi2Sw0mHOZr0HugyJAGecEYP+Sp59d9KhDPqFXioeMjUdJ+Rj15y3
	 Fy3DllZibsyV71SHLR7/fiIxVL2oTCUIE9zH0BvLTHvihTK9ItmLZzTNmBC9N22MCXG3c
	 C6gBu4ZD2MiNi76OUYab8nJPP+Di5w8EKpfa2hGvYsCQ01IIe7NucOd5ypTkUmYWiy5oU
	 gKzR0nLPZ8ye6M8fvsDVrNBxT6+cAwDJGx6IuzYN+TvgrkhnYBRjEJpnWd54Els/mg6eI
	 +IEwzxUGgAP4UZggcB6c1q1VUU2waKLF19MDTd2a3hzsTWPLlkmNgaPxV1QwZlp97pg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796010959;
	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=hGfF7vjpFOKkGQZ1fcLSbCUfeC1hayVuwyii8xQEPX4=;
	b=ll9KR2Ahw9AkCslHO9pp/sQVkVH6pRl+0czru8uTz3eIIuudu91TfflQT/Bv2kd0g3u0
	 XKqNhnvTQ8LuUJ3eu4YD+6x2X5vVv1ZwAzcxsFF1Pvv8FuPJM33W1JQ0sjmQOB29RWkRR
	 ONd3Aeb0ECPgyvfNHqDBTy6UEXj3cfS/P3n5YUsLgVi1WzOvBGDRcXs+NVapzAVaPcqE8
	 +HYfPrWM6h9sz4lHURuhenht8Ewr/Y3pHbQk8xKPnSCnyp3U7rTKmvkOvBlzNalOi8lis
	 pJ80Mv8stX2D/DFrbIwUX+faZX80KKBCoUrCmf565QGaPla4n5OBNMGAazdUuQqUYqw==
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=+rs8TzZj;
	dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=Nu7gP3fd;
	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 DF25D606A331;
	Mon, 30 Nov 2026 03:55:58 +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=+rs8TzZj;
	dkim=pass (2048-bit key) header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=Nu7gP3fd
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=1796010953;
	b=PCSWSlUZuT5ai/KLNFuan6+8kKWo6qJ6N2hSIXvOl1EkNfS6xR3iWZwXWXB0npaLGDBo
	 QzqqwA3zPkKZTqdcjd8XOqXRy8Y4Vz0HpnLw+dd8l4C8AMUZiES4UJQHDYDcsHJkH20dh
	 FgOC0HrR18EsrLt09Wr2NdFy+gtJIIH+0cfl/eEJn+FYd8RWhChAkNxx7HXfOanYN9E41
	 wxl7mS59z2JvHmTSAQmePxtjGqle1tmKZOY/OWN2BXlc6wwVlXAilAGBMQCkJqPRCKibV
	 tr3+7eCCoRohalEgUJq6e1IrldpnyqjQnzb5SoSAaFYoH8K6SBnWz11WUUF1De9nFLw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796010953;
	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=hGfF7vjpFOKkGQZ1fcLSbCUfeC1hayVuwyii8xQEPX4=;
	b=hFPaM71t+f6soN4cVhLyiVZYSTzBcbVEuie5GK6FF3Gm6ijHOnly40UghO0A8Fec4FBt
	 juqydXuuAXJjAgqYtkdTTjadlHGnIaJSs2VewHRV9Ym7TbHbxzjDGsauUrNrsGCY8TgUm
	 wGDg9RDR+lZ3NR8gUMMFJXmW6xO75W1XxvMUvpSK1lFZP+acFsmmOAodzZSP7kVO0a1AS
	 J0u0b1oURDK121/H9jck0ocFhCbbT6/mHuNDR+/kFlqIhRRk72zW3nTVB4frRwufvkMNa
	 KQhaj/mIRa/hiC/6IjMh8Q8JBli+2dx+YfIPSTZger2jE5gYEoVBS96m6QxBCbNDUPQ==
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=+rs8TzZj;
	dkim=pass header.d=uniroma2.it header.i=@uniroma2.it header.a=rsa-sha256 header.s=rsa201904 header.b=Nu7gP3fd;
	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 83BAA606A31C;
	Mon, 30 Nov 2026 03:55:52 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 83BAA606A31C
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.uniroma2.it [160.80.5.46])
	by smtp-2015.uniroma2.it (8.14.4/8.14.4/Debian-8) with ESMTP id 6AU3tMZs003437;
	Mon, 30 Nov 2026 04:55:27 +0100
X-Received: from lubuntu-18.04 (unknown [160.80.103.126])
	by smtpauth-2019-1.uniroma2.it (Postfix) with ESMTPSA id A32861206DD;
	Mon, 30 Nov 2026 04:55:18 +0100 (CET)
X-DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=uniroma2.it;
	s=ed201904; t=1796010919; 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=hGfF7vjpFOKkGQZ1fcLSbCUfeC1hayVuwyii8xQEPX4=;
	b=+rs8TzZjQzAaPUzLH7NwwkyWGq4XJ9Lk84APMUXMdDT8MWRM8wSa4gkWUgeMbtgG6LW8cj
	SdM6JDd8O8tGiRDA==
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniroma2.it; s=rsa201904;
	t=1796010919; 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=hGfF7vjpFOKkGQZ1fcLSbCUfeC1hayVuwyii8xQEPX4=;
	b=Nu7gP3fdHMJcIqvHmIHypSCxxW2EANlfh1OmcDPDY92uTs8t0X1oZpeYed079kxwm8m4Vf
	PQMn5IqbUFfysua0tUVvNM4fSleuixEiWf/xQ25A1bzLeMagWDSr3XvIB6SJVux6RhU10i
	+IslFncHE7tPqP5ihGC7a3QowcKh3nFGUjM615j1icCWSj/n7ISd3jtaTP0scbKt22z4rm
	SjMDVA3pSirDA5yZaWfORus06s01jrn0F4cAH1gK1L0EjwS7HaRZPz5MuGzTef6JnIn5SC
	rYk+PGlx1oyGSdPLFu9aV/DIZGQPSY723rylIsojINMc9OYx/j/+YjBRrgWjww==
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: <20261126-srv6_flavors_endx-v5-1-4d8232eec404@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