mirror of
https://github.com/livekit/livekit.git
synced 2026-07-14 19:18:58 +00:00
2c9eee4c54
Newer kernels report qdisc stats via TCA_STATS2 (Stats2) while older kernels only populate the legacy TCA_STATS attribute (Stats). Whichever is unused is left nil, so unconditionally dereferencing Stats crashed with a SIGSEGV during telemetry init. Prefer Stats2 and fall back to Stats, skipping when both are nil. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>