Becase EFI_TIMEOUT and EFI_NO_MAPPING are not the returned code in
Dns4Configure according UEFI spec. That is also the reason why DNS driver
should handle this case. We can use EFI_DEVICE_ERROR instead since it means an
unexpected network error occurred.
For the DnsStartIp4(), I will add the
Reviewed-by: Lubo Zhang lubo.zh...@intel.com
-Original Message-
From: Wu, Jiaxin
Sent: Wednesday, August 19, 2015 1:49 PM
To: edk2-devel@lists.01.org
Cc: Ye, Ting; Zhang, Lubo
Subject: [PATCH v2] NetworkPkg: Fix DHCP TransmitReceive EFI_NO_MAPPING return
in DnsDxe
v2:
* Add Timeout
v2:
* Add Timeout check, if time out, return EFI_DEVICE_ERROR.
If the default station address is not available, TransmitReceive
function will return EFI_NO_MAPPING. DNS driver should handle this
case. This issue is caused by the r18201 fix.
Cc: Ye Ting ting...@intel.com
Cc: Zhang Lubo
3 matches
Mail list logo