From owner-cvs-src-old@FreeBSD.ORG Sun Aug 30 22:36:57 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 76EF410656C0 for ; Sun, 30 Aug 2009 22:36:56 +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 ECD018FC12 for ; Sun, 30 Aug 2009 22:36:55 +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 n7UMat3t068897 for ; Sun, 30 Aug 2009 22:36:55 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n7UMatck068896 for cvs-src-old@freebsd.org; Sun, 30 Aug 2009 22:36:55 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200908302236.n7UMatck068896@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Sun, 30 Aug 2009 22:36:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/netinet6 ip6_input.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: Sun, 30 Aug 2009 22:36:57 -0000 qingli 2009-08-30 22:36:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 ip6_input.c Log: SVN rev 196671 on 2009-08-30 22:36:46Z by qingli MFC r196569 When multiple interfaces exist in the system, with each interface having an IPv6 address assigned to it, and if an incoming packet received on one interface has a packet destination address that belongs to another interface, the routing table is consulted to determine how to reach this packet destination. Since the packet destination is an interface address, the route table will return a host route with the loopback interface as rt_ifp. The input code must recognize this fact, instead of using the loopback interface, the input code performs a search to find the right interface that owns the given IPv6 address. Reviewed by: bz, gnn, kmacy Approved by: re Revision Changes Path 1.132.2.2 +25 -2 src/sys/netinet6/ip6_input.c