| 1 | Patch-Source: https://github.com/cilium/cilium/commit/a802f91a6de0edaf5b1e2e48845bcf85de23b563 |
| 2 | |
| 3 | diff --git a/vendor/github.com/cilium/cilium/pkg/datapath/linux/probes/probes.go b/vendor/github.com/cilium/cilium/pkg/datapath/linux/probes/probes.go |
| 4 | index 72b69afbb0f49..dcf0950dcdf26 100644 |
| 5 | --- a/vendor/github.com/cilium/cilium/pkg/datapath/linux/probes/probes.go |
| 6 | +++ b/vendor/github.com/cilium/cilium/pkg/datapath/linux/probes/probes.go |
| 7 | @@ -9,6 +9,7 @@ import ( |
| 8 | "errors" |
| 9 | "fmt" |
| 10 | "io" |
| 11 | + "math" |
| 12 | "net" |
| 13 | "os" |
| 14 | "path/filepath" |
| 15 | @@ -495,7 +496,7 @@ var HaveNetkit = sync.OnceValue(func() error { |
| 16 | l, err := link.AttachNetkit(link.NetkitOptions{ |
| 17 | Program: prog, |
| 18 | Attach: ebpf.AttachNetkitPrimary, |
| 19 | - Interface: int(^uint32(0)), |
| 20 | + Interface: math.MaxInt, |
| 21 | }) |
| 22 | // We rely on this being checked during the syscall. With |
| 23 | // an otherwise correct payload we expect ENODEV here as |