diff options
| author | Gary Lin <glin@suse.com> | 2018-05-28 16:05:38 +0800 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2020-07-23 20:51:18 -0400 |
| commit | 8a66f5571bb059d2692e804f4ba9817e978dd103 (patch) | |
| tree | a1eb8c1a344a41432996ce47a55391d852863b14 | |
| parent | 74718677945b1ab825130b317c63f5002876e772 (diff) | |
| download | efi-boot-shim-8a66f5571bb059d2692e804f4ba9817e978dd103.tar.gz efi-boot-shim-8a66f5571bb059d2692e804f4ba9817e978dd103.zip | |
httpboot: return EFI_NOT_FOUND when it fails to find the NIC handle
httpboot_fetch_buffer() should return EFI_NOT_FOUND to reflect the error
status when get_nic_handle() returns NULL.
Signed-off-by: Gary Lin <glin@suse.com>
Upstream-commit-id: 2be5c7dc4b0
| -rw-r--r-- | httpboot.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -715,6 +715,7 @@ httpboot_fetch_buffer (EFI_HANDLE image, VOID **buffer, UINT64 *buf_size) also supports the HTTP service binding protocol */ nic = get_nic_handle(&mac_addr); if (!nic) { + efi_status = EFI_NOT_FOUND; goto error; } |
