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

retsnoop: avoid checking if (sess->defunct) twice #81

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

anakryiko
Copy link
Owner

This is suboptimal, but also, depending on compiler version, can generate code that would look like an infinite loop to the BPF verifier, apparently.

Closes: #79
Reported-by: Daniel Hodges hodges.daniel.scott@gmail.com

This is suboptimal, but also, depending on compiler version, can
generate code that would look like an infinite loop to the BPF verifier,
apparently.

Closes: #79
Reported-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
@anakryiko anakryiko merged commit 767e297 into master Oct 1, 2024
2 checks passed
@anakryiko anakryiko deleted the retsnoop-fix-fake-infinite-loop branch October 1, 2024 00:24
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.

verifier error: Infinite lop
1 participant