quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.85k stars 394 forks source link

Fix GSO / GRO auto detection when IPv6 is disabled. #1453

Closed stormshield-damiend closed 1 year ago

stormshield-damiend commented 1 year ago

One of my Linux test machine has IPv6 disabled. While doing some bench and test on it, i noticed that GSO / GRO were not enabled. Here is a small fix to fallback to an IPv4 loopback in case it failed on IPv6 loopback.

Ralith commented 1 year ago

Thanks!