Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jan 2002 19:32:59 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sbin/natd natd.c
Message-ID:  <20020115193259.C34948@sunbay.com>
In-Reply-To: <20020115092824.B75791@iguana.icir.org>
References:  <200201151707.g0FH7uB73802@freefall.freebsd.org> <20020115092824.B75791@iguana.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 15, 2002 at 09:28:24AM -0800, Luigi Rizzo wrote:
> On Tue, Jan 15, 2002 at 09:07:56AM -0800, Ruslan Ermilov wrote:
> > ru          2002/01/15 09:07:56 PST
> > 
> >   Modified files:
> >     sbin/natd            natd.c 
> >   Log:
> >   Back out part of the revision 1.2 changes -- sendto(2) can
> >   not return ENOBUFS for unreliable protocols like divert.
> 
> actually sendto does return ENOBUFS, it's just select() which
> cannot be used to check for writability on such sockets.
> 
Bah, forgot to add "for no socket buffer space available reason".

> >   This should fix an issue when natd(8) keeps spamming already
> >   full dummynet(4) queues with the same packet forever.
> 
> not just dummynet, this applies to _any_ device-level queue,
> including ethernet, ppp and serial lines.
> 
Yes, I understand, was just referring to this particular problem
people were experiencing.

> >   Spotted by:     chkno@dork.com
> >   Explained by:   luigi
> 
> probably not well enough given the commit message :)
> (just kidding... thanks to Ruslan for fixing this!)
> 
No kidding -- my apologies for being inaccurate in the commit log.


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?20020115193259.C34948>