diff options
author | Hangbin Liu <liuhangbin@gmail.com> | 2020-01-02 12:23:45 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-03 03:35:48 +0300 |
commit | 71130f29979c7c7956b040673e6b9d5643003176 (patch) | |
tree | 827941bb65c473cb13f410e6934a71d3715ab2fc /drivers/pwm | |
parent | 68aab823c223646fab311f8a6581994facee66a0 (diff) | |
download | linux-71130f29979c7c7956b040673e6b9d5643003176.tar.xz |
vxlan: fix tos value before xmit
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions