From owner-cvs-all@FreeBSD.ORG Thu Oct 16 12:20:53 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7683316A4B3; Thu, 16 Oct 2003 12:20:53 -0700 (PDT) Received: from cheer.mahoroba.org (flets19-166.kamome.or.jp [218.45.19.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id D426943FEA; Thu, 16 Oct 2003 12:20:46 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from lyrics.mahoroba.org (IDENT:SPUrmCB8FwrU9L+wIqpzPAplcvPY/R1cv/Dw/W6utQNtoZFT/MFs3RJVIjkT1r66@lyrics.mahoroba.org [IPv6:3ffe:501:185b:8010:280:88ff:fe03:4841]) (user=ume mech=CRAM-MD5 bits=0)h9GJKcXe062580 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 17 Oct 2003 04:20:41 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 17 Oct 2003 04:20:38 +0900 Message-ID: From: Hajimu UMEMOTO To: Sam Leffler In-Reply-To: <200310161857.h9GIvkxi012057@repoman.freebsd.org> References: <200310161857.h9GIvkxi012057@repoman.freebsd.org> User-Agent: xcite1.38> Wanderlust/2.11.3 (Wonderwall) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) X-Operating-System: FreeBSD 5.1-CURRENT MIME-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=no version=2.60 X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on cheer.mahoroba.org cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet6 ip6_input.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2003 19:20:53 -0000 Hi, >>>>> On Thu, 16 Oct 2003 11:57:46 -0700 (PDT) >>>>> Sam Leffler said: sam> pfil hooks can modify packet contents so check if the destination sam> address has been changed when PFIL_HOOKS is enabled and, if it has, sam> arrange for the proper action by ip*_forward. Is following chunk is intentional? @@ -356,6 +365,7 @@ ip6_input(m) */ if (ip6_fw_enable && ip6_fw_chk_ptr) { u_short port = 0; + srcrt = !IN6_ARE_ADDR_EQUAL(&odst, &ip6->ip6_dst); /* If ipfw says divert, we have to just drop packet */ /* use port as a dummy argument */ if ((*ip6_fw_chk_ptr)(&ip6, NULL, &port, &m)) { Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/