opengnsys_ipxe/src
Michael Brown d72c8fdc90 [cachedhcp] Allow cached DHCPACK to override a temporary MAC address
When running on a system with an ACPI-provided system-specific MAC
address, iPXE will apply this address to an ECM or NCM USB NIC.  If
iPXE has been chainloaded from a previous stage that does not
understand the ACPI MAC mechanism then this can result in iPXE using a
different MAC address than the previous stage, which is surprising to
users.

Attempt to minimise surprise by allowing the MAC address found in a
cached DHCPACK packet to override a temporary MAC address, if the
DHCPACK MAC address matches the network device's permanent MAC
address.  When a previous stage has chosen to use the network device's
permanent MAC address (e.g. because it does not understand the ACPI
MAC mechanism), this will cause iPXE to make the same choice.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2022-05-23 13:05:24 +01:00
..
arch [acpi] Allow for the possibility of overriding ACPI tables at link time 2022-03-24 12:58:52 +00:00
bin Rename .cvsignore files to .gitignore 2007-06-09 22:57:00 +01:00
config [efi] Enable IMAGE_GZIP by default for AArch64 2022-02-10 12:47:25 +00:00
core [cachedhcp] Allow cached DHCPACK to override a temporary MAC address 2022-05-23 13:05:24 +01:00
crypto [x509] Use case-insensitive comparison for certificate names 2021-05-18 11:46:28 +01:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [ecm] Treat ACPI MAC address as being a non-permanent MAC address 2022-05-23 12:23:53 +01:00
hci [console] Include mappings for AltGr-Shift-<key> 2022-02-16 15:31:47 +00:00
image [image] Allow single-member archive images to be executed transparently 2021-05-12 13:57:35 +01:00
include [linux] Add stub phys_to_user() implementation 2022-03-24 12:58:52 +00:00
interface [efi] Support Unicode character output via framebuffer console 2022-03-15 17:30:52 +00:00
libgcc [libgcc] Change __divmoddi4 from int64 [unknown] to int64_t 2020-07-21 14:33:32 +01:00
net [dns] Always start DNS queries using the first configured DNS server 2022-02-23 23:17:05 +00:00
scripts [efi] Include Secure Boot Advanced Targeting (SBAT) metadata 2022-01-13 14:12:44 +00:00
tests [acpi] Support the "_RTXMAC_" format for ACPI-based MAC addresses 2022-03-25 16:47:06 +00:00
usr [doc] Update user-visible ipxe.org URIs to use HTTPS 2022-01-13 12:48:38 +00:00
util [console] Include mappings for AltGr-Shift-<key> 2022-02-16 15:31:47 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [build] Avoid invoking genkeymap.py via Perl 2022-02-15 13:54:28 +00:00
Makefile.efi [efi] Use zero for PCI vendor/device IDs when no applicable ID exists 2021-07-26 15:47:47 +01:00
Makefile.housekeeping [build] Avoid invoking genkeymap.py via Perl 2022-02-15 13:54:28 +00:00
Makefile.linux [linux] Place -lslirp at end of linker search list 2021-03-03 01:09:33 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00