From owner-cvs-src-old@FreeBSD.ORG Sat Sep 5 17:42:58 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8562E106568B for ; Sat, 5 Sep 2009 17:42:58 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 72CD38FC0A for ; Sat, 5 Sep 2009 17:42:58 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n85Hgwof016368 for ; Sat, 5 Sep 2009 17:42:58 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n85HgwLi016367 for cvs-src-old@freebsd.org; Sat, 5 Sep 2009 17:42:58 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200909051742.n85HgwLi016367@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Sat, 5 Sep 2009 17:40:27 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/net if_llatbl.c src/sys/netinet6 in6.c in6_src.c ip6_output.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Sep 2009 17:42:58 -0000 qingli 2009-09-05 17:40:27 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/net if_llatbl.c sys/netinet6 in6.c in6_src.c ip6_output.c Log: SVN rev 196869 on 2009-09-05 17:40:27Z by qingli MFC r196864 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 Approved by: re Revision Changes Path 1.8.2.4 +9 -0 src/sys/net/if_llatbl.c 1.121.2.5 +7 -4 src/sys/netinet6/in6.c 1.74.2.2 +19 -11 src/sys/netinet6/in6_src.c 1.137.2.2 +9 -6 src/sys/netinet6/ip6_output.c