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: Simon Goldschmidt
Subject: [lwip-devel] [patch #3796] api_lib.c: patch for netconn_write(), fixes a possible race condition
Date: Thu, 08 Mar 2007 11:36:25 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.2) Gecko/20070219 Firefox/2.0.0.2

Follow-up Comment #5, patch #3796 (project lwip):

Funny, I did not read this patch before, but last weekend I was worried about
exactly that bit of code, accessing the pdb->snd_buf from the user thread.
As to your questions, Kieran:

- I don't think the patch is a solution, it only reduces the number of
possible conflicts as sndbuf is not read as often as before

- the two threads seem to be tcpip_thread and an application thread using
sockets or netconn-api.

- I think this IS a major problem, but it can only be solved by (at least
slightly) redesigning the netconn/socket api

I'm interested in going into this, but it could take some time...

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

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