Module: kamailio Branch: master Commit: 0f34b62ad21e57a21ed2b478cbdb784787b2adab URL: https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb7847...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2025-06-23T13:36:50+02:00
core: tcp - increase the TCP_ID_HASH_SIZE
- now 2048 instead of 1024
---
Modified: src/core/tcp_conn.h
---
Diff: https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb7847... Patch: https://github.com/kamailio/kamailio/commit/0f34b62ad21e57a21ed2b478cbdb7847...
---
diff --git a/src/core/tcp_conn.h b/src/core/tcp_conn.h index bd394c5a57c..ea1f6b6329a 100644 --- a/src/core/tcp_conn.h +++ b/src/core/tcp_conn.h @@ -376,7 +376,7 @@ typedef struct tcp_connection #define TCPCONN_UNLOCK lock_release(tcpconn_lock);
#define TCP_ALIAS_HASH_SIZE 4096 -#define TCP_ID_HASH_SIZE 1024 +#define TCP_ID_HASH_SIZE 2048
/* hash (dst_ip, dst_port, local_ip, local_port) */ static inline unsigned tcp_addr_hash(struct ip_addr *ip, unsigned short port,