From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DFD40C433EF for ; Mon, 6 Jun 2022 12:44:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237656AbiFFMoM (ORCPT ); Mon, 6 Jun 2022 08:44:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237649AbiFFMoK (ORCPT ); Mon, 6 Jun 2022 08:44:10 -0400 X-Greylist: delayed 544 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 06 Jun 2022 05:44:07 PDT Received: from smtp.uniroma2.it (smtp.uniroma2.it [160.80.6.16]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9147218E17 for ; Mon, 6 Jun 2022 05:44:06 -0700 (PDT) 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 256CXgr7024134; Mon, 6 Jun 2022 14:33:47 +0200 Received: from lubuntu-18.04 (unknown [160.80.103.126]) by smtpauth-2019-1.uniroma2.it (Postfix) with ESMTPSA id DFA831212B4; Mon, 6 Jun 2022 14:33:38 +0200 (CEST) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=uniroma2.it; s=ed201904; t=1654518819; 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=8B6BQq7gCMMTyTKJNSZBHuMyyStdALnwUURupL2Td2o=; b=X7w1dL/Qdi0cGco1mzCLqfC//5laoY1s1Mcit4m6zobej3fu2+NwBDv9UFWimW+rIlfVnu oLBzbUp7cCWCJvBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uniroma2.it; s=rsa201904; t=1654518819; 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=8B6BQq7gCMMTyTKJNSZBHuMyyStdALnwUURupL2Td2o=; b=nz5Ja2R9K87ulc+qvyWNju3i1v8S9IXm1GruSHe1XLogKTdmXH8UY3Sfs4k/t52+iDxB+c wj23Fqx0P1hqsZ1l988VEenJPgrYS6dl1fBVUocxgHER8nTlfoOR52HwjapbuDDNutwSyI Q7N+sm7olNFUdRjzGD8Oos6kow+yYuUSApFPJlxa/RtegzNgGvkeIsbjBZCv2a5JKBLNqY +hN/mRWoa3j8e6OAIqvH/F5Z1rpPexJIbAzAVMzIN/13+EevVnb+5pPM9rBFq7QzhFRLqK B73DgcDvU/UpPpAqsQrVMJ2jWs87WuBW+zTfr8eQBkMLkuUlB8NeLOHqh3PF+w== Date: Mon, 6 Jun 2022 14:33:38 +0200 From: Andrea Mayer To: Anton Makarov Cc: David Ahern , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, david.lebrun@uclouvain.be, regressions@lists.linux.dev, stable@vger.kernel.org, Stefano Salsano , Paolo Lungaroni , Ahmed Abdelsalam , Andrea Mayer Subject: Re: [REGRESSION] net: SRv6 End.DT6 function is broken in VRF mode Message-Id: <20220606143338.91df592bbb7dc2f7db4747e6@uniroma2.it> In-Reply-To: <7e315ff1-e172-16c3-44b5-0c83c4c92779@3a-alliance.com> References: <7e315ff1-e172-16c3-44b5-0c83c4c92779@3a-alliance.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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 Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Fri, 3 Jun 2022 15:23:26 +0300 Anton Makarov wrote: > #regzbot introduced: b9132c32e01976686efa26252cc246944a0d2cab > > Hi All! > > Seems there is a regression of SRv6 End.DT6 function in VRF mode. In the > following scenario packet is decapsulated successfully on vrf10 > interface but not forwarded to vrf10's slave interface: > > ip netns exec r4 ip -6 nexthop add id 1004 encap seg6local action > End.DT6 vrftable 10 dev vrf10 > > ip netns exec r4 ip -6 route add fcff:0:4:200:: nhid 1004 > > > In End.DT6 legacy mode everything works good: > > ip netns exec r4 ip -6 nexthop add id 1004 encap seg6local action > End.DT6 table 10 dev vrf10 > > ip netns exec r4 ip -6 route add fcff:0:4:200:: nhid 1004 > > > The issue impacts even stable v5.18.1. Please help to fix it. > > > Thanks! > > Anton > > > Hi Anton, thank you for reporting this issue. I am already working on a fix patch which I will send shortly. Andrea