Re: [REGRESSION] net: SRv6 End.DT6 function is broken in VRF mode

From: Andrea Mayer
Date: Mon Jun 06 2022 - 08:54:18 EST


On Fri, 3 Jun 2022 15:23:26 +0300
Anton Makarov <am@xxxxxxxxxxxxxxx> 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