]> git.baikalelectronics.ru Git - kernel.git/commit
[IPV6]: Send ICMPv6 error on scope violations.
authorDavid L Stevens <dlstevens@us.ibm.com>
Wed, 9 May 2007 20:53:44 +0000 (13:53 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:45:32 +0000 (23:45 -0700)
commitdb4a0c06c9678d105cff3a3338b10cbc9810f2b1
tree7511b9e3963c9f43d53ad5fec8627c927c632e09
parent80296b6ced12f4b158c2779576b5b596c43c70ca
[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>
net/ipv6/ip6_output.c