Re: [NET]: Please revert disallowing zero listen queues

2007-03-09 Thread Vlad Yasevich
David Miller wrote: From: Rick Jones [EMAIL PROTECTED] Date: Tue, 06 Mar 2007 10:54:00 -0800 So we're not disallowing a backlog argument of zero to listen(). We'll accept that just fine, the only thing that happens is that you'll get what you ask for, that being no connections :-) I'm

[NET]: Please revert disallowing zero listen queues

2007-03-06 Thread Gerrit Renker
Please can you reconsider the patch regarding the accept_queue http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.22.git;a=commit;h=8488df894d05d6fa41c2bd298c335f944bb0e401 It disallows to set a `backlog' argument to listen(2) of zero. Using a zero backlog is often done (e.g. ttcp), and

Re: [NET]: Please revert disallowing zero listen queues

2007-03-06 Thread David Miller
From: Gerrit Renker [EMAIL PROTECTED] Date: Tue, 6 Mar 2007 13:32:09 + Please can you reconsider the patch regarding the accept_queue http://git.kernel.org/?p=linux/kernel/git/davem/net-2.6.22.git;a=commit;h=8488df894d05d6fa41c2bd298c335f944bb0e401 It disallows to set a `backlog'

Re: [NET]: Please revert disallowing zero listen queues

2007-03-06 Thread David Miller
From: David Miller [EMAIL PROTECTED] Date: Tue, 06 Mar 2007 10:37:06 -0800 (PST) Everything I've ever seen clearly states that a backlog of zero means that zero connections are allowed. So we're not disallowing a backlog argument of zero to listen(). We'll accept that just fine, the only

Re: [NET]: Please revert disallowing zero listen queues

2007-03-06 Thread Rick Jones
So we're not disallowing a backlog argument of zero to listen(). We'll accept that just fine, the only thing that happens is that you'll get what you ask for, that being no connections :-) I'm not sure where HP-UX inherited the 0 = 1 bit - perhaps from BSD, nor am I sure there is official

Re: [NET]: Please revert disallowing zero listen queues

2007-03-06 Thread David Miller
From: Rick Jones [EMAIL PROTECTED] Date: Tue, 06 Mar 2007 10:54:00 -0800 So we're not disallowing a backlog argument of zero to listen(). We'll accept that just fine, the only thing that happens is that you'll get what you ask for, that being no connections :-) I'm not sure where