lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20409] Add netif callback function for link change ev


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #20409] Add netif callback function for link change event
Date: Fri, 13 Jul 2007 16:46:32 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #58, bug #20409 (project lwip):

> Is calling the etharp_query in the netif_set_link_up a problem?

Oh yes it is! The internal ARP cache is used in etharp_query.

But we could replace that call by a call to etharp_raw (or may a new function
etharp_gratuitous which calls etharp_raw) since this function doesn't access
any global variables, it builds an ARP packet and sends it using
netif->linkoutput. Then (as long as netif->linkoutput is thread-safe, which
it should be) it would be OK.

    _______________________________________________________

Reply to this item at:

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

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





reply via email to

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