Skip to content

update: use bpf_get_func_ip if available#603

Merged
brb merged 1 commit intocilium:mainfrom
Andreagit97:use_core_relocation
Oct 24, 2025
Merged

update: use bpf_get_func_ip if available#603
brb merged 1 commit intocilium:mainfrom
Andreagit97:use_core_relocation

Conversation

@Andreagit97
Copy link
Contributor

@Andreagit97 Andreagit97 commented Sep 24, 2025

Use CO-RE to understand if the bpf_get_func_ip helper is present in the running kernel instead of using a selection logic based on a boolean.

I tried it as a mitigation for #602, but it probably makes sense to have it in any case. WDYT?

@brb
Copy link
Member

brb commented Oct 4, 2025

Thanks a lot! One question.

Use CO-RE to understand if the helper is present in the running kernel
instead of using a selection logic based on a boolean.

Signed-off-by: Andrea Terzolo <andreaterzolo3@gmail.com>
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@brb brb merged commit b6e699a into cilium:main Oct 24, 2025
19 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants