🎈 perf(timer, packet_io_yield): update parameter

This commit is contained in:
yangwei
2024-08-01 13:57:37 +08:00
committed by luwenpeng
parent 49539eb253
commit 0deeb7f3e7
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ void tcp_segment_free(struct tcp_segment *seg)
struct tcp_reassembly *tcp_reassembly_new(uint64_t max_timeout, uint64_t max_seg_num)
{
struct tcp_reassembly *assembler = (struct tcp_reassembly *)calloc(1, sizeof(struct tcp_reassembly));
struct tcp_reassembly *assembler = (struct tcp_reassembly *)malloc(sizeof(struct tcp_reassembly));
if (!assembler)
{
TCP_REASSEMBLY_LOG_ERROR("calloc failed");