Skip to content

Commit

Permalink
Merge pull request #91 from coroot/fix_active_dns_request_invalidation
Browse files Browse the repository at this point in the history
fix active DNS request invalidation
  • Loading branch information
def committed May 29, 2024
2 parents eae516b + c521ad4 commit 34a94ef
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ebpftracer/ebpf.go

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ebpftracer/ebpf/l7/l7.c
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ int trace_exit_read(void *ctx, __u64 id, __u32 pid, __u16 is_tls, long int ret)
e->payload_size = ret;
COPY_PAYLOAD(e->payload, ret, payload);
send_event(ctx, e, k.pid, k.fd);
bpf_map_delete_elem(&active_l7_requests, &k);
return 0;
} else if (is_cassandra_response(payload, ret, &k.stream_id, &e->status)) {
req = bpf_map_lookup_elem(&active_l7_requests, &k);
Expand Down

0 comments on commit 34a94ef

Please sign in to comment.