From owner-cvs-src-old@FreeBSD.ORG Sat Sep 5 16:44:10 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 87DE4106566C for ; Sat, 5 Sep 2009 16:44:10 +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 7501F8FC1E for ; Sat, 5 Sep 2009 16:44:10 +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 n85GiAM7001000 for ; Sat, 5 Sep 2009 16:44:10 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n85GiAg2000999 for cvs-src-old@freebsd.org; Sat, 5 Sep 2009 16:44:10 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200909051644.n85GiAg2000999@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 16:43:16 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD 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 16:44:10 -0000 qingli 2009-09-05 16:43:16 UTC FreeBSD src repository Modified files: sys/net if_llatbl.c sys/netinet6 in6.c in6_src.c ip6_output.c Log: SVN rev 196864 on 2009-09-05 16:43:16Z by qingli 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 Revision Changes Path 1.11 +9 -0 src/sys/net/if_llatbl.c 1.125 +7 -4 src/sys/netinet6/in6.c 1.75 +19 -11 src/sys/netinet6/in6_src.c 1.138 +9 -6 src/sys/netinet6/ip6_output.c