]> 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)
commit13a4db90e48d056d3300ffffd9f6a05f90c0896f
treefb574ee11be97ef84b0c29ff46c3aaa992821ba9
parent988a4e44c10935ce6cdd9c1879067e7ee665b9ec
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