Skip to content

Commit

Permalink
add_missing_variable_set: While I was updating eBPF CO-RE I notice th…
Browse files Browse the repository at this point in the history
…at I missed a variable set on this repo. (#343)
  • Loading branch information
thiagoftsm authored Jul 22, 2023
1 parent 9bce671 commit 843587e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/socket_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ static __always_inline void update_pid_connection(struct pt_regs* ctx)
if (family == AF_UNSPEC)
return;

stored = (netdata_socket_t *) bpf_map_lookup_elem(&tbl_nd_socket, &idx);
if (stored) {
stored->ct = bpf_ktime_get_ns();

Expand Down

0 comments on commit 843587e

Please sign in to comment.