aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip_tunnels.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-06-18 21:52:05 -0700
committerDavid S. Miller <davem@davemloft.net>2016-06-18 22:11:39 -0700
commit9b8c6d7bf2e08a7d3eb6660a2bfaf29b8b49c329 (patch)
tree3e887221b1576e9fdcbada9b9fcb7ddb1e779ca8 /include/net/ip_tunnels.h
parentipv6: translate ICMP_TIME_EXCEEDED to ICMPV6_TIME_EXCEED (diff)
downloadlinux-dev-9b8c6d7bf2e08a7d3eb6660a2bfaf29b8b49c329.tar.xz
linux-dev-9b8c6d7bf2e08a7d3eb6660a2bfaf29b8b49c329.zip
gre: better support for ICMP messages for gre+ipv6
ipgre_err() can call ip6_err_gen_icmpv6_unreach() for proper support of ipv4+gre+icmp+ipv6+... frames, used for example by traceroute/mtr. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip_tunnels.h')
-rw-r--r--include/net/ip_tunnels.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/ip_tunnels.h b/include/net/ip_tunnels.h
index 9222678426a1..a5e7035fb93f 100644
--- a/include/net/ip_tunnels.h
+++ b/include/net/ip_tunnels.h
@@ -157,6 +157,7 @@ struct tnl_ptk_info {
__be16 proto;
__be32 key;
__be32 seq;
+ int hdr_len;
};
#define PACKET_RCVD 0