Date: Wed, 19 Dec 2001 17:50:48 +0200 From: Ruslan Ermilov <ru@FreeBSD.org> To: Yar Tikhiy <yar@FreeBSD.org> 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> In-Reply-To: <20011219183555.C21732@comp.chem.msu.su> References: <200112191454.fBJEsDx96194@freefall.freebsd.org> <20011219172705.B54315@sunbay.com> <20011219183555.C21732@comp.chem.msu.su>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <ivt@gamma.ru> > > > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011219175048.A62709>