aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorChris Friesen <cfriesen@nortel.com>2009-05-17 20:39:33 -0700
committerDavid S. Miller <davem@davemloft.net>2009-05-17 20:39:33 -0700
commit2513dfb83fc775364fe85803d3a84d7ebe5763a5 (patch)
tree157003b5c1b88c1eb95b1307db9835ddd610fb02 /samples
parentnetpoll: don't dereference NULL dev from np (diff)
downloadlinux-dev-2513dfb83fc775364fe85803d3a84d7ebe5763a5.tar.xz
linux-dev-2513dfb83fc775364fe85803d3a84d7ebe5763a5.zip
ipconfig: handle case of delayed DHCP server
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions