lkml.org 
[lkml]   [2009]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] ipconfig: handle case of delayed DHCP server
From
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.


\
 
 \ /
  Last update: 2009-05-18 05:43    [W:0.188 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site