anakryiko / retsnoop

Investigate kernel error call stacks
BSD 2-Clause "Simplified" License
186 stars 32 forks source link

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

Closed anakryiko closed 2 days ago

anakryiko commented 2 days ago

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: https://github.com/anakryiko/retsnoop/issues/79 Reported-by: Daniel Hodges hodges.daniel.scott@gmail.com