netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: cfriesen@nortel.com
Cc: ebiederm@xmission.com, linux-kernel@vger.kernel.org,
	netdev@vger.kernel.org
Subject: Re: [PATCH] ipconfig: handle case of delayed DHCP server
Date: Sun, 17 May 2009 20:39:53 -0700 (PDT)	[thread overview]
Message-ID: <20090517.203953.162821389.davem@davemloft.net> (raw)
In-Reply-To: <4A08640D.7020100@nortel.com>

From: "Chris Friesen" <cfriesen@nortel.com>
Date: Mon, 11 May 2009 11:44:45 -0600

> If a DHCP server is delayed, it's possible for the client to receive the 
> DHCPOFFER after it has already sent out a new DHCPDISCOVER message from 
> a second interface.  The client then sends out a DHCPREQUEST from the 
> second interface, but the server doesn't recognize the device and 
> rejects the request.
> 
> This patch simply tracks the current device being configured and throws 
> away the OFFER if it is not intended for the current device.  A more 
> sophisticated approach would be to put the OFFER information into the 
> struct ic_device rather than storing it globally.
> 
> Signed-off-by: Chris Friesen <cfriesen@nortel.com>

Applied, thanks Chris.

      reply	other threads:[~2009-05-18  3:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-08 20:56 [PATCH] ipconfig: handle case of delayed DHCP server Chris Friesen
2009-05-08 21:39 ` David Miller
2009-05-10  7:53   ` Eric W. Biederman
2009-05-10  8:08     ` David Miller
2009-05-11 17:44       ` Chris Friesen
2009-05-18  3:39         ` David Miller [this message]

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=20090517.203953.162821389.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=cfriesen@nortel.com \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).