From owner-cvs-all@FreeBSD.ORG Mon Sep 25 14:31:12 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org 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 A219016A407; Mon, 25 Sep 2006 14:31:12 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (cell.sick.ru [217.72.144.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id A283443D58; Mon, 25 Sep 2006 14:31:10 +0000 (GMT) (envelope-from glebius@FreeBSD.org) Received: from cell.sick.ru (glebius@localhost [127.0.0.1]) by cell.sick.ru (8.13.4/8.13.3) with ESMTP id k8PEV9FU052090 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 25 Sep 2006 18:31:09 +0400 (MSD) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.sick.ru (8.13.4/8.13.1/Submit) id k8PEV8pp052089; Mon, 25 Sep 2006 18:31:08 +0400 (MSD) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.sick.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Mon, 25 Sep 2006 18:31:08 +0400 From: Gleb Smirnoff To: Bruce M Simpson Message-ID: <20060925143108.GW27667@FreeBSD.org> References: <200609251011.k8PABGaL081087@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <200609251011.k8PABGaL081087@repoman.freebsd.org> User-Agent: Mutt/1.5.6i Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet in_var.h ip_output.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 25 Sep 2006 14:31:12 -0000 On Mon, Sep 25, 2006 at 10:11:16AM +0000, Bruce M Simpson wrote: B> bms 2006-09-25 10:11:16 UTC B> B> FreeBSD src repository B> B> Modified files: B> sys/netinet in_var.h ip_output.c B> Log: B> Account for output IP datagrams on the ifaddr where they originated from, B> *not* the first ifaddr on the ifp. This is similar to what NetBSD does. B> B> PR: kern/72936 B> Submitted by: alfred B> Reviewed by: andre This adds an additional hash lookup per packet, doesn't it? Have you measured performance impact of this change? -- Totus tuus, Glebius. GLEBIUS-RIPN GLEB-RIPE