Re: accept should return ENFILE if it runs out of inodes

From: David S. Miller
Date: Tue Oct 26 2004 - 00:32:14 EST


On Thu, 21 Oct 2004 02:41:27 +0200
Andrea Arcangeli <andrea@xxxxxxxxxx> wrote:

> EMFILE is only for the per-process fds limit, all other cases where
> sock_alloc fails already returns -ENFILE too, must have been a typo.

Fix applied to both 2.4.x and 2.6.x, thanks Andrea.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/