lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #5798] New DHCP messages for tcpip_thread (thread-sa


From: Frédéric Bernon
Subject: [lwip-devel] [patch #5798] New DHCP messages for tcpip_thread (thread-safe problem)
Date: Sun, 11 Mar 2007 20:06:30 +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

URL:
  <http://savannah.nongnu.org/patch/?5798>

                 Summary: New DHCP messages for tcpip_thread (thread-safe
problem)
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: fbernon
            Submitted on: dimanche 11.03.2007 à 21:06
                Category: None
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: fbernon
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

I would like to add new messages in tcpip.c api for dhcp_start & dhcp_stop to
be thread-safe (with a configuration option like LWIP_DHCP_MSG to reduce
footprint).

Because now dhcp_timers are in tcpip_thread, and if we have to be able to
change from static to dhcp settings (and reverse) without fully stop/start
the stack, these messages MUST be available...

Else, if during a dhcp's timers process per tcpip_thread, the application
stop a netif's dhcp client directly with dhcp_stop, we can crash, because the
netif's dhcp field will be invalidate, but use per tcpip_thread.

Ok for you?





    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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