diff --git a/bpf/dns_tracker.h b/bpf/dns_tracker.h index c9db3a554..30a22a35a 100644 --- a/bpf/dns_tracker.h +++ b/bpf/dns_tracker.h @@ -70,6 +70,7 @@ static __always_inline int track_dns_packet(struct __sk_buff *skb, pkt_info *pkt if (pkt->id->dst_port == dns_port || pkt->id->src_port == dns_port || pkt->id->dst_port == DNS_DEFAULT_PORT || pkt->id->src_port == DNS_DEFAULT_PORT) { dns_flow_id dns_req; + __builtin_memset(&dns_req, 0, sizeof(dns_req)); u8 len = calc_dns_header_offset(pkt, data_end); if (!len) { diff --git a/pkg/ebpf/bpf_arm64_bpfel.o b/pkg/ebpf/bpf_arm64_bpfel.o index 240486c52..41235fbcb 100644 Binary files a/pkg/ebpf/bpf_arm64_bpfel.o and b/pkg/ebpf/bpf_arm64_bpfel.o differ diff --git a/pkg/ebpf/bpf_powerpc_bpfel.o b/pkg/ebpf/bpf_powerpc_bpfel.o index fae0677f0..206025b55 100644 Binary files a/pkg/ebpf/bpf_powerpc_bpfel.o and b/pkg/ebpf/bpf_powerpc_bpfel.o differ diff --git a/pkg/ebpf/bpf_s390_bpfeb.o b/pkg/ebpf/bpf_s390_bpfeb.o index aae1b0003..9c7341708 100644 Binary files a/pkg/ebpf/bpf_s390_bpfeb.o and b/pkg/ebpf/bpf_s390_bpfeb.o differ diff --git a/pkg/ebpf/bpf_x86_bpfel.o b/pkg/ebpf/bpf_x86_bpfel.o index 9399eaff3..b8688ec44 100644 Binary files a/pkg/ebpf/bpf_x86_bpfel.o and b/pkg/ebpf/bpf_x86_bpfel.o differ