]> 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)
commitb9b6e1cd8f6c293bdcba4a978cbd381b5f665ae0
tree37594300d55960ee4c7bd27a2149838bdb5b37c3
parent05685053baa04c93068ba3ff6f051bb9d69e8638
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: c1fdbdd5d062 ("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