[Top][All Lists]

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

[lwip-devel] [bug #28248] netif_remove doesn't call netif callback

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #28248] netif_remove doesn't call netif callback
Date: Thu, 10 Dec 2009 15:58:04 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv: Gecko/20091102 Firefox/3.5.5


                 Summary: netif_remove doesn't call netif callback
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: goldsimon
            Submitted on: Do 10 Dez 2009 15:58:03 GMT
                Category: None
                Severity: 3 - Normal
              Item Group: Faulty Behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: 1.3.1



Without the callback, a callback-driven application will think the netif is
still active and up.

netif_remove() should possible at least call netif_set_down(). That makes
sure the user application is at least noticed of the fact that the netif isn't
up any more.

Adding a 'reason' argument to the callback would be best, as we couuld than
indicate that the netif is about to be removed. However, that would mean
breaking backwards compatibility.


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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