Blame SOURCES/0004-httpboot-return-EFI_NOT_FOUND-when-it-fails-to-find-.patch

00e791
From 8a66f5571bb059d2692e804f4ba9817e978dd103 Mon Sep 17 00:00:00 2001
00e791
From: Gary Lin <glin@suse.com>
00e791
Date: Mon, 28 May 2018 16:05:38 +0800
00e791
Subject: [PATCH 04/62] httpboot: return EFI_NOT_FOUND when it fails to find
00e791
 the NIC handle
00e791
00e791
httpboot_fetch_buffer() should return EFI_NOT_FOUND to reflect the error
00e791
status when get_nic_handle() returns NULL.
00e791
00e791
Signed-off-by: Gary Lin <glin@suse.com>
00e791
Upstream-commit-id: 2be5c7dc4b0
00e791
---
00e791
 httpboot.c | 1 +
00e791
 1 file changed, 1 insertion(+)
00e791
00e791
diff --git a/httpboot.c b/httpboot.c
00e791
index 4cfa3aab3b7..d656073c633 100644
00e791
--- a/httpboot.c
00e791
+++ b/httpboot.c
00e791
@@ -715,6 +715,7 @@ httpboot_fetch_buffer (EFI_HANDLE image, VOID **buffer, UINT64 *buf_size)
00e791
 	   also supports the HTTP service binding protocol */
00e791
 	nic = get_nic_handle(&mac_addr);
00e791
 	if (!nic) {
00e791
+		efi_status = EFI_NOT_FOUND;
00e791
 		goto error;
00e791
 	}
00e791
 
00e791
-- 
00e791
2.26.2
00e791