]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb1cadc1a0949c82ff7fcb15603e3caf2d32ff9f6
treefb574ee11be97ef84b0c29ff46c3aaa992821ba9
parentadc01582e36fc228f6f1c82188f7501eb4c6154f
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