summaryrefslogtreecommitdiffstats
path: root/src/interface/linux/linux_console.c
diff options
context:
space:
mode:
authorMichael Brown2020-10-13 20:08:25 +0200
committerMichael Brown2020-10-13 20:18:41 +0200
commit02748d0a584f22a568347d719291725e6fd63029 (patch)
treede4cfbb29ee9dd6b41a99fcd8d48fb878755fcfd /src/interface/linux/linux_console.c
parent[usbblk] Add support for USB mass storage devices (diff)
downloadipxe-02748d0a584f22a568347d719291725e6fd63029.tar.gz
ipxe-02748d0a584f22a568347d719291725e6fd63029.tar.xz
ipxe-02748d0a584f22a568347d719291725e6fd63029.zip
[efi] Defer local download process until file has been opened
When iPXE is downloading a file from an EFI_FILE_PROTOCOL instance backed by an EFI_BLOCK_IO_PROTOCOL instance provided by the same iPXE binary (e.g. via a hooked SAN device), then it is possible for step() to be invoked as a result of the calls into the EFI_BLOCK_IO_PROTOCOL methods. This can potentially result in efi_local_step() being run prematurely, before the file has been opened and before the parent interface has been attached. Fix by deferring starting the download process until immediately prior to returning from efi_local_open(). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/interface/linux/linux_console.c')
0 files changed, 0 insertions, 0 deletions