From ae8e7d4cd63d28126380c1cdeb22ea5005af15fb Mon Sep 17 00:00:00 2001 From: luqiuwen Date: Fri, 7 Dec 2018 11:24:22 +0600 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3tun=E5=A4=84=E7=90=86?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E5=9C=A8=E6=95=B0=E6=8D=AE=E5=8C=85=E5=A4=84?= =?UTF-8?q?=E7=90=86=E7=BA=BF=E7=A8=8B=E5=A4=96=E5=8F=91=E5=8C=85=E8=BF=87?= =?UTF-8?q?=E7=A8=8B=E4=B8=AD=EF=BC=8C=E7=BA=BF=E7=A8=8B=E5=8F=B7=E5=A1=AB?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF=E5=AF=BC=E8=87=B4Data-race=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kni_intercept.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kni_intercept.c b/kni_intercept.c index 3105e8a..05769cb 100644 --- a/kni_intercept.c +++ b/kni_intercept.c @@ -14,8 +14,7 @@ #include "kni_intercept.h" #include "kni_entry.h" - - +#include "kni_utils.h" extern "C" int sendpacket_do_checksum(unsigned char* buf,int protocol,int len); @@ -807,7 +806,7 @@ int kni_process_readdata(int thread_seq,int sendpkt_threadid,int buflen,char* bu } else { - MESA_sendpacket_iplayer_options(thread_seq,buf,buflen,args.routdir,NULL,0); + MESA_sendpacket_iplayer_options(sendpkt_threadid,buf,buflen,args.routdir,NULL,0); } } else