--- ./source/private_module/unf_common/unf_portman.c	2018-04-11 09:53:23.000000000 +0000
+++ ./source/private_module/unf_common/unf_portman.c.hotpatch	2018-08-29 02:08:19.000000000 +0000
@@ -16789,6 +16789,7 @@
     UNF_OS_STLISTHEAD * pNextNode   = NULL;
 	UNF_BOOL_E          bStillNeedSendGsnn   = UNF_B_FALSE;
 	UNF_ACT_TOPO_E 		uiActTopo  = UNF_ACT_TOP_UNKNOWN;
+    UNF_ULONG           ulFlag    = 0;
 
 	UNF_REFERNCE_VAR(uiActTopo);
 	UNF_CHECK_VALID(0x2383, UNF_TRUE, NULL != v_pstLPort, return);
@@ -16812,7 +16813,8 @@
 
 	pstDisc = &(pstLPort->stDisc);
     pstSnsPort = UNF_GetRPortByNPortId(pstLPort, UNF_FC_FID_DIR_SERV);
-
+    
+    UNF_OS_SPIN_LOCK_IRQSAVE(&(pstDisc->stRPortBusyPoolLock), ulFlag);
 	UNF_OS_LIST_FOR_EACH_SAFE(pNode, pNextNode, &pstDisc->list_BusyRPorts)
 	{
 		pstRPort = UNF_OS_LIST_ENTRY(pNode, struct tagUNF_RPORT_S, Entry_RPort);
@@ -16821,6 +16823,9 @@
 		if((UNF_B_TRUE == pstRPort->bNeedQueryHbaInfo)
             && (UNF_QUERY_CONCURRENT > UNF_OS_ATOMIC_READ(&pstLPort->atQueryConcurrent)))
 		{		
+		    /* GSNN_NNǰȽǶ׵Ŀԣܷ仯Ϊ⣬
+		        һֻѯһڵ㣬÷֧ٶвGSֱ˳δɵĽڵ´ٴ */
+            UNF_OS_SPIN_UNLOCK_IRQRESTORE(&(pstDisc->stRPortBusyPoolLock), ulFlag);
 			uiRet = UNF_SendGsnnNN(pstLPort, pstSnsPort, pstRPort);
 			
 			if(RETURN_OK != uiRet)
@@ -16832,6 +16837,7 @@
 			}
 			pstRPort->bNeedQueryHbaInfo = UNF_B_FALSE;
 			UNF_OS_ATOMIC_INC(&pstLPort->atQueryConcurrent);
+			return;
 		}
 		
 		/* ԴûвѯĽ㣬Lport */
@@ -16840,6 +16846,7 @@
 			bStillNeedSendGsnn = UNF_B_TRUE;
 		}
 	}
+    UNF_OS_SPIN_UNLOCK_IRQRESTORE(&(pstDisc->stRPortBusyPoolLock), ulFlag);
 	
 	/* ˿ѯʱrportûзͲѯö˿ٲѯ */
 	if(UNF_B_FALSE == bStillNeedSendGsnn)
@@ -16855,16 +16862,9 @@
  *****************************************************************************
  *     : UNF_RootLPortRefDec
  *   : LPortüΪ0׵¼Destroy LPort
- *   : v_pstLPort  
- *   : 
- *   ֵ  : UNF_VOID
- * ˵  : 
- * 
- * ޸ʷ      :
  *  1.       : 2013424
  *           : 
  *    ޸   : ⵥ:DTS2013042300442  ޸
- *  --------------------------------
  *  2.       : 2014217
  *           : 
  *    ޸   : ⵥ:DTS2014021000733 ޸
