]> git.baikalelectronics.ru Git - kernel.git/commit
ip_tunnel: fix setting ttl and tos value in collect_md mode
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Thu, 7 Sep 2017 06:08:34 +0000 (14:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Sep 2017 03:47:10 +0000 (20:47 -0700)
commit49af4178c0731a87b0299f837d114265a921dcec
tree37594300d55960ee4c7bd27a2149838bdb5b37c3
parent2d3c6d13537e62628bcdfd333729a67658e73f6b
ip_tunnel: fix setting ttl and tos value in collect_md mode

ttl and tos variables are declared and assigned, but are not used in
iptunnel_xmit() function.

Fixes: 9f3fcb26623b ("ip_tunnel: add collect_md mode to IPIP tunnel")
Cc: Alexei Starovoitov <ast@fb.com>
Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_tunnel.c