From owner-cvs-src-old@FreeBSD.ORG Tue Jan 5 22:28:48 2010 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 9A358106566B for ; Tue, 5 Jan 2010 22:28:48 +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 889228FC17 for ; Tue, 5 Jan 2010 22:28:48 +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 o05MSmvj050294 for ; Tue, 5 Jan 2010 22:28:48 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o05MSmqG050293 for cvs-src-old@freebsd.org; Tue, 5 Jan 2010 22:28:48 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <201001052228.o05MSmqG050293@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Tue, 5 Jan 2010 22:28:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/netinet6 nd6.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: Tue, 05 Jan 2010 22:28:48 -0000 qingli 2010-01-05 22:28:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 nd6.c Log: SVN rev 201615 on 2010-01-05 22:28:23Z by qingli MFC r201284 Multiple IPv6 addresses of the same prefix can be installed on the same interface. The first address will install the prefix route into the kernel routing table and that prefix will be marked as on-link. Without RADIX_MPATH enabled, the other address aliases of the same prefix will update the prefix reference count but no other routes will be installed. Consequently the prefixes associated with these addresses would not be marked as on-link. As such, incoming packets destined to these address aliases will fail the ND6 on-link check on input. This patch fixes the above problem by searching the kernel routing table and try to find an on-link prefix on the given interface. Revision Changes Path 1.123.2.6 +22 -2 src/sys/netinet6/nd6.c