diff options
| author | Michael Brown | 2015-08-29 17:49:54 +0200 |
|---|---|---|
| committer | Michael Brown | 2015-08-29 17:58:12 +0200 |
| commit | 2ef04f092c1449ba4cff631d5127455ddecc505f (patch) | |
| tree | 8f3329c12b184b1a85da24aaa3d1b30e6411fff3 /src/interface | |
| parent | [efi] Improve efi_wrap debugging (diff) | |
| download | ipxe-2ef04f092c1449ba4cff631d5127455ddecc505f.tar.gz ipxe-2ef04f092c1449ba4cff631d5127455ddecc505f.tar.xz ipxe-2ef04f092c1449ba4cff631d5127455ddecc505f.zip | |
[pxe] Construct all fake DHCP packets before starting PXE NBP
Commit edf74df ("[pxe] Always reconstruct packet for
PXENV_GET_CACHED_INFO") fixed the problems caused by returning stale
DHCP packets (e.g. from an earlier boot attempt using a different
network device), but broke interoperability with NBPs such as WDS
which may overwrite our cached (fake) DHCP packets and expect the
modified packets to be returned by a subsequent call to
PXENV_GET_CACHED_INFO.
Fix by constructing the fake DHCP packets immediately before
transferring control to a PXE NBP. Calls to PXENV_GET_CACHED_INFO
will now never modify the cached packets.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface')
0 files changed, 0 insertions, 0 deletions
