summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author杨威 <[email protected]>2022-09-09 16:17:29 +0800
committer杨威 <[email protected]>2022-12-01 16:46:24 +0800
commit3414147c737fb33cb40d254a4eada40024b8904f (patch)
tree195fb883656c16405de5dbb26686fa983b87acc9
parent566655a640c3b573f320f748099e1e7c4c7cf08e (diff)
🐞 fix(tcp_free_stream): fix when tcp close by reset, pkt null
-rw-r--r--src/dealpkt/deal_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dealpkt/deal_tcp.c b/src/dealpkt/deal_tcp.c
index 030478e..704f414 100644
--- a/src/dealpkt/deal_tcp.c
+++ b/src/dealpkt/deal_tcp.c
@@ -1395,7 +1395,7 @@ int tcp_free_stream(struct streamindex *pindex, const void *this_ip_hdr, const v
pkt_ret = stream_process_tcp_allpkt(pstream, this_ip_hdr, transport_hdr, raw_pkt,&(pdetail_pr->pAllpktpme),&(pstream->pktstate));
#else
/* 2017-12-13 lijia modify, TCPALL��Ϊ�ȵ���, ������tcp_free_stream��, ���ֻ��TCPALL���������CLOSE״̬, ���ٸ�ԭʼ��, ָ��̶�ΪNULL, ������ظ��� */
- pkt_ret = stream_process_tcp_allpkt(pstream, NULL, NULL, NULL, &(pdetail_pr->pAllpktpme),&(pstream->pktstate));
+ pkt_ret = stream_process_tcp_allpkt(pstream, this_ip_hdr, transport_hdr, raw_pkt, &(pdetail_pr->pAllpktpme),&(pstream->pktstate));
#endif
pdetail_pr->pAllpktpme=NULL;
}