On Sun, Jul 24, 2022 at 02:37:41AM +0200, Matthias May wrote:
The current code uses the RT_TOS macro to cut off the 6 DSCP
bits, down to the original 3 TOS bits.
Do not use this macro to get the prio for inheriting purposes.
Honestly, this patch is a bug fix and is suitable for the net tree
(with appropriate 'Fixes' tag).
Ideally, we'd also fix ip6_dst_lookup_tunnel() (used by bareudp
tunnels) and vxlan6_get_route().
Also, mlx5e_tc_tun_update_header_ipv6() and
mlx5e_tc_tun_create_header_ipv6() both call RT_TOS() inside
ip6_make_flowinfo() and certainly need to be fixed too.
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature