diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-01-21 02:29:58 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-21 02:29:58 +0000 |
commit | ebb2dcbcde99a9862842458cfdc4906f454fae34 (patch) | |
tree | a1870bf6bfff26275102b3a126d6690b1c8e1ee0 /pkg/sentry/socket/netstack | |
parent | 53c06c8ef397c01a39f2848cf5f93ac2b88e8b4d (diff) | |
parent | b0136253e6de393b2892e0fee8d85d636e82616c (diff) |
Merge release-20210112.0-54-gb0136253e (automated)
Diffstat (limited to 'pkg/sentry/socket/netstack')
-rw-r--r-- | pkg/sentry/socket/netstack/netstack.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/pkg/sentry/socket/netstack/netstack.go b/pkg/sentry/socket/netstack/netstack.go index 22e128b96..4c9d335c0 100644 --- a/pkg/sentry/socket/netstack/netstack.go +++ b/pkg/sentry/socket/netstack/netstack.go @@ -1814,10 +1814,6 @@ func setSockOptSocket(t *kernel.Task, s socket.SocketOps, ep commonEndpoint, nam var v linux.Linger binary.Unmarshal(optVal[:linux.SizeOfLinger], usermem.ByteOrder, &v) - if v != (linux.Linger{}) { - socket.SetSockOptEmitUnimplementedEvent(t, name) - } - ep.SocketOptions().SetLinger(tcpip.LingerOption{ Enabled: v.OnOff != 0, Timeout: time.Second * time.Duration(v.Linger), |