]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: translate ICMP_TIME_EXCEEDED to ICMPV6_TIME_EXCEED
authorEric Dumazet <edumazet@google.com>
Sun, 19 Jun 2016 04:52:04 +0000 (21:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 05:11:39 +0000 (22:11 -0700)
commit710f67ef776467da81dce2c37bd267d3a271b05f
tree7ec3681b46b8aa456e987f7b0248dd94abafddb6
parenta4eda8d1f2c80728fe4fa83a425a7b8082798021
ipv6: translate ICMP_TIME_EXCEEDED to ICMPV6_TIME_EXCEED

For better traceroute/mtr support for SIT and GRE tunnels,
we translate IPV4 ICMP ICMP_TIME_EXCEEDED to ICMPV6_TIME_EXCEED

We also have to translate the IPv4 source IP address of ICMP
message to IPv6 v4mapped.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/icmpv6.h
net/ipv6/icmp.c
net/ipv6/sit.c