aboutsummaryrefslogtreecommitdiffstats
path: root/src/usr/pxemenu.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2023-01-23 19:18:21 +0000
committerMichael Brown <mcb30@ipxe.org>2023-01-23 19:27:13 +0000
commit68734b9a4dafa540e5333d7af3849b59a10f7a93 (patch)
treed4b2d9f1b69c4fcc13571c30dd98041263f92b66 /src/usr/pxemenu.c
parent2fef0c541e4e2417fc285c4d9ddfcb6f23f394ad (diff)
downloadipxe-68734b9a4dafa540e5333d7af3849b59a10f7a93.tar.gz
[efi] Bind to only the topmost instance of the SNP or NII protocolssnploop
UEFI has the mildly annoying habit of installing copies of the EFI_SIMPLE_NETWORK_PROTOCOL instance on the IPv4 and IPv6 child device handles. This can cause iPXE's SNP driver to attempt to bind to a copy of the EFI_SIMPLE_NETWORK_PROTOCOL that iPXE itself provided on a different handle. Fix by refusing to bind to an SNP (or NII) handle if there exists another instance of the same protocol further up the device path (on the basis that we always want to bind to the highest possible device). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/pxemenu.c')
0 files changed, 0 insertions, 0 deletions