]> git.baikalelectronics.ru Git - kernel.git/commit
ip6_tunnel: Correct tos value in collect_md mode
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sat, 17 Jun 2017 03:38:05 +0000 (11:38 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Jun 2017 03:56:57 +0000 (23:56 -0400)
commit6664ac481b30389f20b73a2bdc5e9cc10bfc50fd
tree808f6f1e1105c25d48141328cc8a8373c32d8aa7
parent82ac81a1b318b66be69f1775f92ad96085d71d74
ip6_tunnel: Correct tos value in collect_md mode

Same as ip_gre, geneve and vxlan, use key->tos as traffic class value.

CC: Peter Dawson <petedaws@gmail.com>
Fixes: f11dd6e1180e ("ip6_tunnel, ip6_gre: fix setting of DSCP on
encapsulated packets”)
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: Peter Dawson <peter.a.dawson@boeing.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ip6_tunnel.c