Revision: 14781
http://sourceforge.net/p/edk2/code/14781
Author: tye1
Date: 2013-10-18 02:43:34 +0000 (Fri, 18 Oct 2013)
Log Message:
-----------
Fix an issue that execute "map -r" in UEFI shell cannot reinstate iSCSI session
with Microsoft iSCSI target after unplug/plug network cable.
Signed-off-by: Ye Ting <[email protected]>
Reviewed-by: Fu Siyuan <[email protected]>
Modified Paths:
--------------
trunk/edk2/NetworkPkg/IScsiDxe/IScsiProto.c
Modified: trunk/edk2/NetworkPkg/IScsiDxe/IScsiProto.c
===================================================================
--- trunk/edk2/NetworkPkg/IScsiDxe/IScsiProto.c 2013-10-16 08:19:48 UTC (rev
14780)
+++ trunk/edk2/NetworkPkg/IScsiDxe/IScsiProto.c 2013-10-18 02:43:34 UTC (rev
14781)
@@ -2851,7 +2851,8 @@
Timeout = 0;
if (Session->State != SESSION_STATE_LOGGED_IN) {
- return EFI_DEVICE_ERROR;
+ Status = EFI_DEVICE_ERROR;
+ goto ON_EXIT;
}
Conn = NET_LIST_USER_STRUCT_S (
@@ -3025,7 +3026,7 @@
{
EFI_STATUS Status;
- ASSERT (Session->State == SESSION_STATE_LOGGED_IN);
+ ASSERT (Session->State != SESSION_STATE_FREE);
//
// Abort the session and re-init it.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits