diff options
-rw-r--r-- | pkg/tcpip/transport/udp/endpoint.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/transport/udp/endpoint.go b/pkg/tcpip/transport/udp/endpoint.go index 4de2aa3e3..f2dd98f35 100644 --- a/pkg/tcpip/transport/udp/endpoint.go +++ b/pkg/tcpip/transport/udp/endpoint.go @@ -400,8 +400,8 @@ func (e *endpoint) SetSockOpt(opt interface{}) *tcpip.Error { case tcpip.MulticastTTLOption: e.mu.Lock() - defer e.mu.Unlock() e.multicastTTL = uint8(v) + e.mu.Unlock() case tcpip.AddMembershipOption: nicID := v.NIC |