All of lore.kernel.org
 help / color / mirror / Atom feed
* DHCP response received after 500mS not handled while having multiple Ethernet interfaces
@ 2012-11-27 19:58 Mugunthan V N
  0 siblings, 0 replies; only message in thread
From: Mugunthan V N @ 2012-11-27 19:58 UTC (permalink / raw)
  To: netdev@vger.kernel.org; +Cc: davem@davemloft.net

Hi

While testing AM335X which has Dual EMAC feature, I came across an issue.

Setup:
     Board:  AM335X-EVMSK with Dual EMAC implementation with eth0 connected
             and eth1 not connected to switch.
     Router: Trendnet Wireless router TEW-652BRP

Issue:
    While booting with multiple Ethernet interface, kernel logs as
    "DHCP/BOOTP: Ignoring delayed packet" and ignores the DHCP response 
packet.

Analysis:
The router is giving a DHCP response only after 500mS which I confirmed by
capturing Ethernet packets
While looking at net/ipv4/ipconfig.c, it seems that waiting period of DHCP
response with multiple interface is 500mS, if we get a response from the
server after 500mS, it is ignored as ic_dev_xid will hold the next interface
xid which is updated while sending DHCP request after timeout on the next
interface.

Is this 500mS waiting for response period is per protocol?

In my view even if we get a response after 500mS and DHCP request has moved
to next interface we need to handle the response.
Can someone comment on this approach is right or is there some other way to
handle the issue.

Regards
Mugunthan V N

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-27 19:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 19:58 DHCP response received after 500mS not handled while having multiple Ethernet interfaces Mugunthan V N

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.