Re: [PATCH] seg6: using DSCP of inner IPv4 packets

From: David Miller
Date: Fri Aug 07 2020 - 20:43:46 EST


From: Ahmed Abdelsalam <ahabdels@xxxxxxxxx>
Date: Thu, 6 Aug 2020 08:43:06 +0200

> SRv6 as defined in [1][2] does not mandate that the hop_limit of the
> outer IPv6 header has to be copied from the inner packet.

This is not an issue of seg6 RFCs, but rather generic ip6 in ip6
tunnel encapsulation.

Therefore, what the existing ip6 tunnel encap does is our guide,
and it inherits from the inner header.

And that's what the original seg6 code almost certainly used to
guide the decision making in this area.