From owner-cvs-src-old@FreeBSD.ORG Sat Sep 5 17:35:51 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 88E1B106566B for ; Sat, 5 Sep 2009 17:35:51 +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 772408FC14 for ; Sat, 5 Sep 2009 17:35:51 +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 n85HZpJL015906 for ; Sat, 5 Sep 2009 17:35:51 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n85HZpX9015905 for cvs-src-old@freebsd.org; Sat, 5 Sep 2009 17:35:51 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <200909051735.n85HZpX9015905@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:35:31 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sys/netinet6 icmp6.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:35:51 -0000 qingli 2009-09-05 17:35:31 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/netinet6 icmp6.c Log: SVN rev 196868 on 2009-09-05 17:35:31Z by qingli MFC r196865 This patch fixes an address scope violation. Considering the scenario where an anycast address is assigned on one interface, and a global address with the same scope is assigned on another interface. In other words, the interface owns the anycast address has only the link-local address as one other address. Without this patch, "ping6" the anycast address from another station will observe the source address of the returned ICMP6 echo reply has the link-local address, not the global address that exists on the other interface in the same node. Reviewed by: bz Approved by: re Revision Changes Path 1.117.2.3 +4 -0 src/sys/netinet6/icmp6.c