[IPV6]: Send ICMPv6 error on scope violations.
commita36aa221e62ffce68819f97844494c2d5f86d011
authorDavid L Stevens <dlstevens@us.ibm.com>
Tue, 22 May 2007 22:55:49 +0000 (23 00:55 +0200)
committerAdrian Bunk <bunk@stusta.de>
Tue, 22 May 2007 22:55:49 +0000 (23 00:55 +0200)
treee997eb1a75f63b09f72d3db91530ce02614a535e
parentbba669f7618ba72c6b17faed7c6ca6c6bec8cb72
[IPV6]: Send ICMPv6 error on scope violations.

When an IPv6 router is forwarding a packet with a link-local scope source
address off-link, RFC 4007 requires it to send an ICMPv6 destination
unreachable with code 2 ("not neighbor"), but Linux doesn't. Fix below.

Signed-off-by: David L Stevens <dlstevens@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
net/ipv6/ip6_output.c