|
From: | Bryan Schwichtenberg |
Subject: | [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state |
Date: | Tue, 20 Mar 2007 20:41:03 +0000 |
User-agent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727) |
Follow-up Comment #4, bug #19162 (project lwip): Hello, Sorry for the confusion. When I said one thread I was referring to on "application" thread outside of lwIP. There is still the receive thread running inside lwIP. So I believe the problem is similar. As I look at the lwip_sendto() function there is a lwip_send() (which evently puts and event into conn-mbox) followed by a netconn_disconnect() (which also posts to conn->mbox). In our case the server on the other side responds to the lwip_send() before the netconn_disconnect() is executed. The result is that lwIP sends an ICMP packet to the server saying detination unreachable. Essentially stopping the file transfer. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?19162> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |