]> git.proxmox.com Git - mirror_edk2.git/commit
NetworkPkg: Fix issue the iSCSI client can not send reset packet.
authorZhang Lubo <lubo.zhang@intel.com>
Fri, 28 Apr 2017 06:41:33 +0000 (14:41 +0800)
committerJiaxin Wu <jiaxin.wu@intel.com>
Tue, 2 May 2017 03:11:39 +0000 (11:11 +0800)
commit597cf8a19ff426bf5f8c03425c00acbc7ac8dd63
tree78b99c26e0cfeb83060ef19ff4c402785e31e3e9
parente3793f9834fe9dcec6fda53fbe8df76d32c6f2fa
NetworkPkg: Fix issue the iSCSI client can not send reset packet.

if we already established a iSCSI connection from initiator to target
based on IPv4 stack, after using reconnect -r command, we can not rebuild
the session with the windows target, since the server thought the session
is still exist.  This issue is caused by wrong place of acquire ownership of
sock lock which lead the iSCSI can not reset the connection correctly.

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