[Top][All Lists]

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

[lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netif

From: Simon Goldschmidt
Subject: [lwip-devel] [bug #21655] DHCP doesn't work reliably with multiple netifs
Date: Fri, 30 Nov 2007 08:52:06 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv: Gecko/20071115 Firefox/

Follow-up Comment #8, bug #21655 (project lwip):

The UDP patch works kind of nice, I'll check it in.

As to the patch to ip.c (checking for DHCP first, then processing the
netif_list): I'm not sure it works without this: for the udp.c patch to work,
it is necessary that the netif is correct. So When having multiple netifs on
the same network, the code in ip_input might select the wrong netif to pass to

But this is a generic problem in ip_input (selecting a netif from the list
instead of passing the 'inp' netif after it is checked). I'm sure there is a
reason for this code, but I just don't see it: it seems kind of unsafe to
accept a packet from one netif and tell UDP it is from another netif?


Reply to this item at:


  Nachricht geschickt von/durch Savannah

reply via email to

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