Add support for TCP port reuse (same tuple6 but different ISN) in session manager: evict old session and create new session

This commit is contained in:
luwenpeng
2024-05-16 19:13:36 +08:00
parent 1559f0a13e
commit 32ae4618ef
25 changed files with 176 additions and 119 deletions

View File

@@ -152,7 +152,7 @@ static void *work_thread(void *arg)
}
}
sess = session_manager_lookup_session(sess_mgr, pkt);
sess = session_manager_lookup_session(sess_mgr, pkt, now);
if (sess == NULL)
{
sess = session_manager_new_session(sess_mgr, pkt, now);