[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/p
From: |
Frédéric Bernon |
Subject: |
[lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state |
Date: |
Tue, 20 Mar 2007 20:27:32 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2 |
Follow-up Comment #3, bug #19162 (project lwip):
Hello,
Not sure this is the same problem than Rob. I fI have understand comment #1,
Rob got a problem if several application's thread try to use the same socket
in same time. And he got a problem in this sequence (from lwip_sendto):
1 poll current connection state
2 force connect state supplied by caller using netconn_connect
3 send data with lwip_send
4 restore previous polled connection state
But this problem is more "application side" (or API safe-thread).
In your problem, if you have only one thread, the problem can't be the same.
Can you give me more informations about "the server responds so quickly to
the lwip_send() that the receive thread internal to lwIP is putting data into
the queue before the netconn_disconnect() can be added to the queue" ?
What kind of problem is? Crash, remote addr/port connection state corrupted?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?19162>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Frédéric Bernon, 2007/03/03
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Bryan Schwichtenberg, 2007/03/20
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state,
Frédéric Bernon <=
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Bryan Schwichtenberg, 2007/03/20
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Bryan Schwichtenberg, 2007/03/20
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Kieran Mansley, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Frédéric Bernon, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Kieran Mansley, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Frédéric Bernon, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Kieran Mansley, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Kieran Mansley, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Bryan Schwichtenberg, 2007/03/21
- [lwip-devel] [bug #19162] lwip_sendto: possible to corrupt remote addr/port connection state, Frédéric Bernon, 2007/03/27