From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=160.80.4.32 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== 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== 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 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) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 83BAA606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=uniroma2.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=uniroma2.it 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 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 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) 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== 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== Date: Mon, 30 Nov 2026 04:55:18 +0100 From: Andrea Mayer To: Hangbin Liu Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Simon Horman , Shuah Khan , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Hangbin Liu , Stefano Salsano , Andrea Mayer , Andrea Mayer Subject: Re: [PATCH net-next v5 1/5] seg6: split final End process out of flavor processing Message-Id: <20261130045518.2887df44ef1a21794bee1a6b@uniroma2.it> In-Reply-To: <20261126-srv6_flavors_endx-v5-1-4d8232eec404@kylinos.cn> References: <20261126-srv6_flavors_endx-v5-0-4d8232eec404@kylinos.cn> <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: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.100.0 at smtp-2015 X-Virus-Status: Clean On Thu, 26 Nov 2026 14:27:23 +0800 Hangbin Liu wrote: > From: Hangbin Liu > > 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 > [snip] Reviewed-by: Andrea Mayer Thanks, Andrea