summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Protocol/SimpleFileSystem.h
diff options
context:
space:
mode:
authorMichael Brown2023-01-23 20:18:21 +0100
committerMichael Brown2023-01-23 20:27:13 +0100
commit68734b9a4dafa540e5333d7af3849b59a10f7a93 (patch)
treed4b2d9f1b69c4fcc13571c30dd98041263f92b66 /src/include/ipxe/efi/Protocol/SimpleFileSystem.h
parent[efi] Extend efi_locate_device() to allow searching up the device path (diff)
downloadipxe-68734b9a4dafa540e5333d7af3849b59a10f7a93.tar.gz
ipxe-68734b9a4dafa540e5333d7af3849b59a10f7a93.tar.xz
ipxe-68734b9a4dafa540e5333d7af3849b59a10f7a93.zip
[efi] Bind to only the topmost instance of the SNP or NII protocols
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/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions