diff --git a/core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_sessionconn.c b/core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_sessionconn.c index 4c4d00e2c..454218e20 100644 --- a/core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_sessionconn.c +++ b/core/transmission/trans_channel/tcp_direct/src/trans_tcp_direct_sessionconn.c @@ -40,9 +40,11 @@ uint64_t TransTdcGetNewSeqId(void) static uint64_t seq = 0; seq += TRANS_SEQ_STEP; + uint64_t retseq = seq; + ReleaseSessonConnLock(); - return seq; + return retseq; } int32_t GenerateTdcChannelId(void)