lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #19347] netif_add & tcpip_init problem


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #19347] netif_add & tcpip_init problem
Date: Fri, 23 Mar 2007 07:59:35 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

Follow-up Comment #7, bug #19347 (project lwip):

Jonathan,

Unfortunately, I didn't have the time to follow the changes. I only know the
idea behind this: If you want to change options of an interface (e.g. change
the IP address), you probably do this asynchronously, say from another
application thread. But if you do that, you have concurrent access to the
netif-list or -struct because you access this from tcpip-thread as well as
from your application thread.

Changes made here should not change the lwip core (only the api part) and
raw-only users should not see a change.

This is a general problem about multithreading and lwIP, as you stated in
your last comment to patch #5453...
Since the stack has no protection in it, any operation of application threads
on the stack's structs can only work through messages.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?19347>

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





reply via email to

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