From 04ba57c643a573b2cd9a9666a5e5cd92dad05504 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Tue, 17 Mar 2026 13:31:31 +1100 Subject: [PATCH] fix: remove opportunistic GRO syscall --- quinn-udp/src/unix.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/quinn-udp/src/unix.rs b/quinn-udp/src/unix.rs index 2c00749e3..b6b2e12aa 100644 --- a/quinn-udp/src/unix.rs +++ b/quinn-udp/src/unix.rs @@ -135,9 +135,6 @@ impl UdpSocketState { #[cfg(any(target_os = "linux", target_os = "android"))] { - // opportunistically try to enable GRO. See gro::gro_segments(). - let _ = set_socket_option(&*io, libc::SOL_UDP, libc::UDP_GRO, OPTION_ON); - // Forbid IPv4 fragmentation. Set even for IPv6 to account for IPv6 mapped IPv4 addresses. // Set `may_fragment` to `true` if this option is not supported on the platform. may_fragment |= !set_socket_option_supported(