commit | 39d8c1b6fbaeb8d6adec4a8c08365cc9eaca6ae4 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Mar 20 17:13:49 2006 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 20 17:13:49 2006 -0800 |
tree | e604ee025c6711caca1bf6ec2a406197bf5be843 | |
parent | 77d2ca350018c507815f5d38a40ffb597eb9ae25 [diff] |
[NET]: Do not lose accepted socket when -ENFILE/-EMFILE. Try to allocate the struct file and an unused file descriptor before we try to pull a newly accepted socket out of the protocol layer. Based upon a patch by Prassana Meda. Signed-off-by: David S. Miller <davem@davemloft.net>