Skip to content

Commit 04ba57c

Browse files
thomaseizingerRalith
authored andcommitted
fix: remove opportunistic GRO syscall
1 parent 56bba7c commit 04ba57c

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

quinn-udp/src/unix.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ impl UdpSocketState {
135135

136136
#[cfg(any(target_os = "linux", target_os = "android"))]
137137
{
138-
// opportunistically try to enable GRO. See gro::gro_segments().
139-
let _ = set_socket_option(&*io, libc::SOL_UDP, libc::UDP_GRO, OPTION_ON);
140-
141138
// Forbid IPv4 fragmentation. Set even for IPv6 to account for IPv6 mapped IPv4 addresses.
142139
// Set `may_fragment` to `true` if this option is not supported on the platform.
143140
may_fragment |= !set_socket_option_supported(

0 commit comments

Comments
 (0)