summaryrefslogtreecommitdiffstats
path: root/src/net/dhcppkt.c
diff options
context:
space:
mode:
authorMichael Brown2019-09-15 11:40:23 +0200
committerMichael Brown2019-09-15 11:40:23 +0200
commit41a9a5c7b3674f0fac6d8fa3b633cde17c2df78f (patch)
tree0626878d6100aa2a3e322f4e5200b14b3a1751aa /src/net/dhcppkt.c
parent[efi] Report failed control transfers as expected by the USB core (diff)
downloadipxe-41a9a5c7b3674f0fac6d8fa3b633cde17c2df78f.tar.gz
ipxe-41a9a5c7b3674f0fac6d8fa3b633cde17c2df78f.tar.xz
ipxe-41a9a5c7b3674f0fac6d8fa3b633cde17c2df78f.zip
[efi] Do not attempt EFI_USB_IO_PROTOCOL transfers during shutdown
On at least some platforms (observed with a Raspberry Pi), any attempt to perform USB transfers via EFI_USB_IO_PROTOCOL during EFI shutdown will lock up the system. This is quite probably due to the already documented failure of all EFI timers when ExitBootServices() is called: see e.g. commit 5cf5ffea2 "[efi] Work around temporal anomaly encountered during ExitBootServices()". Work around this problem by refusing to poll endpoints if shutdown is in progress, and by immediately failing any attempts to enqueue new transfers. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/dhcppkt.c')
0 files changed, 0 insertions, 0 deletions