summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlijia <[email protected]>2020-09-16 18:37:38 +0800
committerlijia <[email protected]>2020-09-16 18:37:38 +0800
commitc2e558959cb23d1f16316cd89e71041923a1bb45 (patch)
treedac14a9cd65dd2871f7a489cf4a43eafd094a12f
parent44124cad31f35bd16a771602b936d9acb3e8d672 (diff)
修复插件返回KILL_FOLLOW | DROPME BUG.v4.1.6
-rw-r--r--src/dealpkt/callapp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dealpkt/callapp.c b/src/dealpkt/callapp.c
index 15314e7..a6a9405 100644
--- a/src/dealpkt/callapp.c
+++ b/src/dealpkt/callapp.c
@@ -564,11 +564,12 @@ int stream_process(struct streaminfo *a_stream,const void *this_iphdr, const voi
if(local_app_ret & APP_STATE_KILL_FOLLOW){
plug_entry_kick_out_tot_list(pNext, a_stream);
- pPrev->next = NULL;
if(NULL == pPrev){
/* ��ǰ����ڵ�һ��, KILL_FOLLOW & APP_STATE_DROPME�൱��ȫ�����DROPME*/
pFunList = NULL; /* ȫ�����CLOSE */
*apme = NULL; /* 2020-05-08 lijia modify */
+ }else{
+ pPrev->next = NULL;
}
/* 2019-11-15 lijia add for plug kill other */
}else if(local_app_ret & APP_STATE_KILL_OTHER){