]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/ipv6/ip6_output.c
[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)
commit5bb1ab09e4f6287c0b6c9cdbd463147cbd003f54
tree7511b9e3963c9f43d53ad5fec8627c927c632e09
parentac40e41f4ddec8882d3f7bc8fa98a4fce8796aff
[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