]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: icmp: add a force_saddr param to icmp6_send()
authorEric Dumazet <edumazet@google.com>
Sun, 19 Jun 2016 04:52:02 +0000 (21:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2016 05:11:38 +0000 (22:11 -0700)
commit43d9d53174043523460031f698fe1db6323c137d
treefb574ee11be97ef84b0c29ff46c3aaa992821ba9
parente2670f888cc935fd9636f5974acd9722dc462efb
ipv6: icmp: add a force_saddr param to icmp6_send()

SIT or GRE tunnels might want to translate an IPV4 address
into a v4mapped one when translating ICMP to ICMPv6.

This patch adds the parameter to icmp6_send() but
does not change icmpv6_send() signature.

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/ip6_icmp.c