From ebbccfe84768bb777f6c3f3d141077e02954b228 Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 10 Sep 2009 22:55:52 +0000 Subject: [PATCH] Fix race condition bug in poll() for backlogged connections git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2032 42af7a65-404d-4744-a932-0658087f49c3 --- Documentation/NuttX.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html index 2223e362c8..37caa79337 100644 --- a/Documentation/NuttX.html +++ b/Documentation/NuttX.html @@ -8,7 +8,7 @@

NuttX RTOS

-

Last Updated: September 09, 2009

+

Last Updated: September 10, 2009

@@ -1517,6 +1517,10 @@ nuttx-0.4.11 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr> extra two bytes of length cause the driver to sometimes read one too many words from the received FIFO (corrupting the next queued receive packet, if any). + * net/net_poll.c and net/uip/uip_tcpbacklog.c. Fixed an important race condition + 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. pascal-0.1.3 2009-xx-xx Gregory Nutt <spudmonkey@racsa.co.cr>