You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When copying the output of bpftool into the bpf_features.h file, although
we wait for the bpftool command to finish, we don't wait for the consumer
goroutine. This issue can lead to corrupted bpf_features.h files. We
however do not need a goroutine to copy bpftool's output.
Fixes: #10857Fixes: #10019
Signed-off-by: Paul Chaignon <paul@cilium.io>
When copying the output of bpftool into the bpf_features.h file, although
we wait for the bpftool command to finish, we don't wait for the consumer
goroutine. This issue can lead to corrupted bpf_features.h files. We
however do not need a goroutine to copy bpftool's output.
Fixes: #10857Fixes: #10019
Signed-off-by: Paul Chaignon <paul@cilium.io>
When copying the output of bpftool into the bpf_features.h file, although
we wait for the bpftool command to finish, we don't wait for the consumer
goroutine. This issue can lead to corrupted bpf_features.h files. We
however do not need a goroutine to copy bpftool's output.
Fixes: #10857Fixes: #10019
Signed-off-by: Paul Chaignon <paul@cilium.io>
Noticed in https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/18496/testReport/Suite-k8s-1/11/K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_restricts_notifications/.
f9f3b3b1_K8sDatapathConfig_MonitorAggregation_Checks_that_monitor_aggregation_restricts_notifications.zip
This is likely happening because, although we wait for the producer command to finish, we don't wait for the consumer goroutine:
cilium/pkg/datapath/linux/probes/probes.go
Lines 252 to 267 in a244143
/cc @mrostecki
The text was updated successfully, but these errors were encountered: