mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Remove unnecessary defer
PiperOrigin-RevId: 214073949 Change-Id: I8fab916cd77362c13dac2c9dcf2ecc1710d87a5e
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user