Re: [net] seg6: fix SRv6 L2 tunnels to use IANA-assigned protocol number

From: David Miller
Date: Thu Mar 12 2020 - 02:50:34 EST


From: Paolo Lungaroni <paolo.lungaroni@xxxxxxx>
Date: Wed, 11 Mar 2020 17:54:06 +0100

> The Internet Assigned Numbers Authority (IANA) has recently assigned
> a protocol number value of 143 for Ethernet [1].
>
> Before this assignment, encapsulation mechanisms such as Segment Routing
> used the IPv6-NoNxt protocol number (59) to indicate that the encapsulated
> payload is an Ethernet frame.
>
> In this patch, we add the definition of the Ethernet protocol number to the
> kernel headers and update the SRv6 L2 tunnels to use it.
>
> [1] https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
>
> Signed-off-by: Paolo Lungaroni <paolo.lungaroni@xxxxxxx>
> Reviewed-by: Andrea Mayer <andrea.mayer@xxxxxxxxxxx>
> Acked-by: Ahmed Abdelsalam <ahmed.abdelsalam@xxxxxxx>

Applied.

But this is that classic case where we add a protocol element to the
tree before the official number is assigned.

Then the number is assigned and if we change it then everything using
the original number is no longer interoperable.