diff options
| author | luwenpeng <[email protected]> | 2024-11-21 11:39:34 +0800 |
|---|---|---|
| committer | luwenpeng <[email protected]> | 2024-11-21 11:41:27 +0800 |
| commit | 601af3330d5beaa69cdf9d0dd1dc423b3d88906d (patch) | |
| tree | 4f32c4d04d3dd0be03facac571ce00d9f8752833 /infra/session_manager | |
| parent | b76949b0e4820d4136ad86cdf342964fc879ab60 (diff) | |
If a packet is marked as dropped, the packet manager will destroy it and its exdata at the end of the current stage, preventing it from entering the next stage.
Diffstat (limited to 'infra/session_manager')
| -rw-r--r-- | infra/session_manager/session_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/infra/session_manager/session_manager.c b/infra/session_manager/session_manager.c index da6935b..e48efee 100644 --- a/infra/session_manager/session_manager.c +++ b/infra/session_manager/session_manager.c @@ -62,11 +62,11 @@ static void notify_sess_closed_by_pseudo_pkt(struct session_manager *sess_mgr, i if (session_get_first_packet(sess, FLOW_TYPE_C2S)) { - pseudo = packet_manager_dup_packet(pkt_mgr, session_get_first_packet(sess, FLOW_TYPE_C2S)); + pseudo = packet_manager_dup_packet(pkt_mgr, thread_id, session_get_first_packet(sess, FLOW_TYPE_C2S)); } else { - pseudo = packet_manager_dup_packet(pkt_mgr, session_get_first_packet(sess, FLOW_TYPE_S2C)); + pseudo = packet_manager_dup_packet(pkt_mgr, thread_id, session_get_first_packet(sess, FLOW_TYPE_S2C)); } assert(pseudo); |
