From 3f20ec01fbfb74ad66ac74cdc96d9db2b6b2e955 Mon Sep 17 00:00:00 2001 From: Viktor Liu Date: Wed, 26 Aug 2026 15:38:08 +0200 Subject: [PATCH] Drop the socket mark helper left without callers --- client/net/net_linux.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/client/net/net_linux.go b/client/net/net_linux.go index b432f5a47..8ed8a1944 100644 --- a/client/net/net_linux.go +++ b/client/net/net_linux.go @@ -21,15 +21,6 @@ func SetSocketMark(conn syscall.Conn) error { return setRawSocketMark(sysconn) } -// SetSocketOpt sets the SO_MARK option on the given file descriptor -func SetSocketOpt(fd int) error { - if !AdvancedRouting() { - return nil - } - - return setSocketOptInt(fd) -} - func setRawSocketMark(conn syscall.RawConn) error { var setErr error