lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #3796] api_lib.c: patch for netconn_write(), fixes


From: Frédéric Bernon
Subject: [lwip-devel] [patch #3796] api_lib.c: patch for netconn_write(), fixes a possible race condition
Date: Wed, 11 Apr 2007 23:54:06 +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 #14, patch #3796 (project lwip):

I think the best thing to do to fix this kind of problem is to move most of
the write process in tcpip_thread (in api_msg). I have submit a patch for
lwip_sendto like this for bug #19162 (I have to test it when I will come to
the office).

It will give a something more safe-thread (by example, if two application
threads want to write datas on the same socket).

To my point of view, SYS_ARCH_PROTECT should only have to be used in pbuf, &
memp functions...






    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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