Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct BTF types more accurately in getKernelType #1488

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

cpaplham
Copy link
Contributor

This fixes warnings for struct/pointer-based types (e.g. file) that the spec type doesn't align with the BPF-identified type.

This issue was previously identified (with a fix written) in #850. However, that fix was never merged, and changes validation logic instead of just type identification.

This fixes warnings for struct/pointer-based types (e.g. file) that the
spec type doesn't align with the BPF-identified type.

This issue was previously identified (with a fix written) in
cilium#850. However, that fix was never
merged, and changes validation logic instead of just type identification.

Signed-off-by: Christopher Paplham <36825497+cpaplham@users.noreply.github.com>
@cpaplham cpaplham requested a review from a team as a code owner September 18, 2023 20:17
@cpaplham cpaplham requested a review from tpapagian September 18, 2023 20:17
@kkourt kkourt added the release-note/misc This PR makes changes that have no direct user impact. label Sep 27, 2023
@jrfastab
Copy link
Contributor

Thanks @cpaplham ! Sorry seems it took me a really long time to get to this I missed it in the PR lists.

@jrfastab jrfastab merged commit eff5ea9 into cilium:main Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants