]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg/IScsiDxe: Fix the incorrect error handling in DriverEntryPoint
authorJiaxin Wu <jiaxin.wu@intel.com>
Wed, 22 Mar 2017 01:22:07 +0000 (09:22 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Thu, 23 Mar 2017 03:40:06 +0000 (11:40 +0800)
commit89648826ee0a68a24a71826e32787dc5c935b622
tree45673717353ee984895f41333819c46964279a52
parentba0252808b2d0a0362d6bcd9ddef6cd3d2e3bca3
NetworkPkg/IScsiDxe: Fix the incorrect error handling in DriverEntryPoint

Currently, error handling in IScsiDriverEntryPoint is incorrect. For
example, if IScsiCreateAttempts() return error due to the limited max
variable size, iSCSI will not unload the configuration entries.

Cc: Zhang Lubo <lubo.zhang@intel.com>
Cc: Ye Ting <ting.ye@intel.com>
Cc: Fu Siyuan <siyuan.fu@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Wu Jiaxin <jiaxin.wu@intel.com>
Reviewed-by: Zhang Lubo <lubo.zhang@intel.com>
NetworkPkg/IScsiDxe/IScsiDriver.c