lwip-devel
[Top][All Lists]
Advanced

[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:1.9.1.5) Gecko/20091102 Firefox/3.5.5

URL:
  <http://savannah.nongnu.org/bugs/?28248>

                 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

    _______________________________________________________

Details:

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:

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

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





reply via email to

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