From owner-cvs-all Wed Dec 19 7:51:11 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 3329737B416; Wed, 19 Dec 2001 07:50:54 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id fBJFomZ62936; Wed, 19 Dec 2001 17:50:48 +0200 (EET) (envelope-from ru) Date: Wed, 19 Dec 2001 17:50:48 +0200 From: Ruslan Ermilov To: Yar Tikhiy Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/netinet ip_output.c Message-ID: <20011219175048.A62709@sunbay.com> References: <200112191454.fBJEsDx96194@freefall.freebsd.org> <20011219172705.B54315@sunbay.com> <20011219183555.C21732@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011219183555.C21732@comp.chem.msu.su> User-Agent: Mutt/1.3.23i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, Dec 19, 2001 at 06:35:55PM +0300, Yar Tikhiy wrote: > On Wed, Dec 19, 2001 at 05:27:05PM +0200, Ruslan Ermilov wrote: > > On Wed, Dec 19, 2001 at 06:54:13AM -0800, Yar Tikhiy wrote: > > > yar 2001/12/19 06:54:13 PST > > > > > > Modified files: > > > sys/netinet ip_output.c > > > Log: > > > Don't try to free a NULL route when doing IPFIREWALL_FORWARD. > > > An old route will be NULL at that point if a packet were initially > > > routed to an interface (using the IP_ROUTETOIF flag.) > > > > > > Submitted by: Igor Timkin > > > > > > Revision Changes Path > > > 1.145 +2 -1 src/sys/netinet/ip_output.c > > > > > That is, setsockopt(2)'s SO_DONTROUTE, right? > > Exactly, they've been equivalent up to now. > Just wanted to clarify to the others, as SO_DONTROUTE is what most programs use, and not IP_ROUTETOIF. See sbin/ping/ping.c for example. Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message