]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
This patch fixes the following issues:
authorqingli <qingli@FreeBSD.org>
Sat, 5 Sep 2009 16:43:16 +0000 (16:43 +0000)
committerqingli <qingli@FreeBSD.org>
Sat, 5 Sep 2009 16:43:16 +0000 (16:43 +0000)
commit0cca60c70d1c3115577b3e8fa7f015d4d9eb8904
treec3085c58ec7f99afbd953e6a54aeb378a9bdc66f
parent36333bfcba5bfd937fe1818b3b8ad16d334d48b5
This patch fixes the following issues:
- Interface link-local address is not reachable within the
  node that owns the interface, this is due to the mismatch
  in address scope as the result of the installed interface
  address loopback route. Therefore for each interface
  address loopback route, the rt_gateway field (of AF_LINK
  type) will be used to track which interface a given
  address belongs to. This will aid the address source to
  use the proper interface for address scope/zone validation.
- The loopback address is not reachable. The root cause is
  the same as the above.
- Empty nd6 entries are created for the IPv6 loopback addresses
  only for validation reason. Doing so will eliminate as much
  of the special case (loopback addresses) handling code
  as possible, however, these empty nd6 entries should not
  be returned to the userland applications such as the
  "ndp" command.
Since both of the above issues contain common files, these
files are committed together.

Reviewed by: bz
MFC after: immediately
sys/net/if_llatbl.c
sys/netinet6/in6.c
sys/netinet6/in6_src.c
sys/netinet6/ip6_output.c