lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [patch #5960] Enable multithread send/recv operations on sa


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5960] Enable multithread send/recv operations on same socket on TCP netconns
Date: Wed, 23 May 2007 13:19:53 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #4, patch #5960 (project lwip):

Yes, ASSERT can be used to signal that the size used is to small and that we
have fill the queue, but it's just good at development time. Take the current
code and this situation:

You open a UDP connection and bind it to a port (514 syslog) by example). If
the process which have to receive doesn't call "recvfrom" faster than you
receive packets (by example, in a DoS attack), the conn->recvmbox for this
connection will be filled, and the tcpip_thread will be block. If
tcpip_thread blocks, there is no possibility to close/delete the UDP
connection by example, or to "sendto" any datagram.
 




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?5960>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]