summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMichael Brown2013-11-08 13:45:22 +0100
committerMichael Brown2013-11-08 13:45:22 +0100
commitc3d1e7869731c8cccb041ce05ee0ebbb3dc375d5 (patch)
tree83db0c631943bfec85a0062a86ebb29308ffa02c /src/util
parent[cmdline] Generate command option help text automatically (diff)
downloadipxe-c3d1e7869731c8cccb041ce05ee0ebbb3dc375d5.tar.gz
ipxe-c3d1e7869731c8cccb041ce05ee0ebbb3dc375d5.tar.xz
ipxe-c3d1e7869731c8cccb041ce05ee0ebbb3dc375d5.zip
[pxe] Ensure cached DHCPACK is retrieved prior to network device creation
The retrieval of the cached DHCPACK and the creation of network devices are both currently scheduled as STARTUP_NORMAL. It is therefore possible that the cached DHCPACK will not be retrieved in time for cachedhcp_probe() to apply it to the relevant network device. Fix by retrieving the cached DHCPACK at initialisation time rather than at startup time. As an optimisation, an unclaimed cached DHCPACK can be freed immediately after the last network device has been created, rather than waiting until shutdown. Reported-by: Espen Braastad <espen.braastad@redpill-linpro.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions