This is an automated email from the ASF dual-hosted git repository.

liuhan pushed a commit to branch reduce-handle-connect-time
in repository https://gitbox.apache.org/repos/asf/skywalking-rover.git


The following commit(s) were added to refs/heads/reduce-handle-connect-time by 
this push:
     new 59c5f2a  fix data id missing
59c5f2a is described below

commit 59c5f2a792a131554e2b97d30cb1fd371b46401b
Author: mrproliu <[email protected]>
AuthorDate: Fri Dec 27 16:26:43 2024 +0800

    fix data id missing
---
 bpf/accesslog/common/connection.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bpf/accesslog/common/connection.h 
b/bpf/accesslog/common/connection.h
index ac15fc8..0a01f38 100644
--- a/bpf/accesslog/common/connection.h
+++ b/bpf/accesslog/common/connection.h
@@ -306,6 +306,7 @@ static __inline void submit_connection_when_not_exists(void 
*ctx, __u64 id, stru
 
 static __inline void notify_close_connection(void* ctx, __u64 conid, struct 
active_connection_t* con, __u64 start_time, __u64 end_time, int ret) {
     bpf_map_delete_elem(&socket_data_last_id_map, &conid);
+    bpf_map_delete_elem(&socket_data_id_generate_map, &conid);
     struct socket_close_event_t *close_event;
     close_event = rover_reserve_buf(&socket_close_event_queue, 
sizeof(*close_event));
     if (close_event == NULL) {

Reply via email to