From: Chuck Ebbert <[EMAIL PROTECTED]>
Date: Thu, 25 Oct 2007 14:44:52 -0400
> On 10/25/2007 10:11 AM, Rich Paul wrote:
> > In 2.6.23, there seems to be a minor bug in sys_socketpair. When the
> > calls to sock_alloc_fd fail, it aborts the routine, but it returns the
>
On 10/25/2007 10:11 AM, Rich Paul wrote:
> In 2.6.23, there seems to be a minor bug in sys_socketpair. When the
> calls to sock_alloc_fd fail, it aborts the routine, but it returns the
> variable err, which is not set in this case.
>
> The result is a silent failure if you have
In 2.6.23, there seems to be a minor bug in sys_socketpair. When the
calls to sock_alloc_fd fail, it aborts the routine, but it returns the
variable err, which is not set in this case.
The result is a silent failure if you have too many files open and call
socketpair.
Here is a simple UNTESTED