]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6] MIP6: Revert address to send ICMPv6 error.
authorMasahide NAKAMURA <nakam@linux-ipv6.org>
Thu, 24 Aug 2006 02:27:25 +0000 (19:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 22:06:55 +0000 (15:06 -0700)
commitfe13ed3fc1ce02d8f21e1beef792147d7354d7b9
tree43ee73c5f5cd329089c3fbcf71594036974d6be3
parentf192eebb425cd8148547394470d9a728e7fe745e
[IPV6] MIP6: Revert address to send ICMPv6 error.

IPv6 source address is replaced in receiving packet
with home address option carried by destination options header.
To send ICMPv6 error back, original address which is received one on wire
should be used. This function checks such header is included
and reverts them.
Based on MIPL2 kernel patch.

This patch was also written by: Ville Nuorvala <vnuorval@tcs.hut.fi>

Signed-off-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/icmp.c