disable GSO and ECN on kernels older than version 5 (#4456)

This commit is contained in:
Marten Seemann
2024-04-24 16:10:22 +02:00
committed by GitHub
parent 394aa5640d
commit 12aa63824c
5 changed files with 70 additions and 8 deletions

12
quic_suite_linux_test.go Normal file
View File

@@ -0,0 +1,12 @@
//go:build linux
package quic
import (
"fmt"
)
func init() {
major, minor := kernelVersion()
fmt.Printf("Kernel Version: %d.%d\n\n", major, minor)
}