From 6dda82c28ccd0944962feb90e9f6efc770d66b47 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 11 Sep 2009 19:31:52 +0000 Subject: [PATCH] Fix race condition that can cause close of socket to hang git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2037 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 37caa793370..9c7269825ff 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: September 10, 2009

+

Last Updated: September 11, 2009

@@ -1521,6 +1521,9 @@ nuttx-0.4.11 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> bug in polling for connections. The logic worked if the poll was inplace before the connection was received; but the poll failed to awaken if the connection was already pending in the backlog when poll() was called. + * net/net_close.c. Fixed another important TCP/IP race condition bug: If + the host closes the TCP connection just before the target calls close(), then + the close operation may hang indefinitely! pascal-0.1.3 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>