From: Mugunthan V N <mugunthanvnm@ti.com>
To: "netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: "davem@davemloft.net" <davem@davemloft.net>
Subject: DHCP response received after 500mS not handled while having multiple Ethernet interfaces
Date: Wed, 28 Nov 2012 01:28:40 +0530 [thread overview]
Message-ID: <50B51B70.5050804@ti.com> (raw)
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
reply other threads:[~2012-11-27 19:59 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50B51B70.5050804@ti.com \
--to=mugunthanvnm@ti.com \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.