TSG-16056 修复deny动作,修复tsg_lua多线程调用问题和tfe编译告警

This commit is contained in:
fengweihao
2023-07-11 16:28:52 +08:00
parent 868da4f642
commit 2451bd795c
17 changed files with 73 additions and 43 deletions

View File

@@ -276,7 +276,7 @@ void route_ctx_copy(struct route_ctx *dst, struct route_ctx *src)
#define CHECKSUM_CARRY(x) (x = (x >> 16) + (x & 0xffff), (~(x + (x >> 16)) & 0xffff))
static int checksum(u_int16_t *addr, int len)
__attribute__((unused)) static int checksum(u_int16_t *addr, int len)
{
int sum = 0;
int nleft = len;