[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200102.163652.2010977835864982320.davem@davemloft.net>
Date: Thu, 02 Jan 2020 16:36:52 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, pshelar@....org, daniel@...earbox.net
Subject: Re: [PATCH net] vxlan: fix tos value before xmit
From: Hangbin Liu <liuhangbin@...il.com>
Date: Thu, 2 Jan 2020 17:23:45 +0800
> Before ip_tunnel_ecn_encap() and udp_tunnel_xmit_skb() we should filter
> tos value by RT_TOS() instead of using config tos directly.
>
> vxlan_get_route() would filter the tos to fl4.flowi4_tos but we didn't
> return it back, as geneve_get_v4_rt() did. So we have to use RT_TOS()
> directly in function ip_tunnel_ecn_encap().
>
> Fixes: 206aaafcd279 ("VXLAN: Use IP Tunnels tunnel ENC encap API")
> Fixes: 1400615d64cf ("vxlan: allow setting ipv6 traffic class")
> Signed-off-by: Hangbin Liu <liuhangbin@...il.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists