diff options
author | Zhaozhong Ni <nzz@google.com> | 2018-07-10 13:53:39 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-07-10 13:54:40 -0700 |
commit | bf580cf64dbea1c70a3269914fad6490f7a4968d (patch) | |
tree | 67c05c84857b450867021bc7e8c6995a6ee8dff2 /pkg/tcpip/link/loopback | |
parent | 065d7cee9a558cf3e7cdaafe8d708efe76e2b703 (diff) |
netstack: only do connected TCP S/R for loopback connections.
PiperOrigin-RevId: 204006237
Change-Id: Ica8402ab54d9dd7d11cc41c6d74aacef51d140b7
Diffstat (limited to 'pkg/tcpip/link/loopback')
-rw-r--r-- | pkg/tcpip/link/loopback/loopback.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/link/loopback/loopback.go b/pkg/tcpip/link/loopback/loopback.go index aede1b4a2..b4dc4833c 100644 --- a/pkg/tcpip/link/loopback/loopback.go +++ b/pkg/tcpip/link/loopback/loopback.go @@ -56,7 +56,7 @@ func (*endpoint) MTU() uint32 { // Capabilities implements stack.LinkEndpoint.Capabilities. Loopback advertises // itself as supporting checksum offload, but in reality it's just omitted. func (*endpoint) Capabilities() stack.LinkEndpointCapabilities { - return stack.CapabilityChecksumOffload + return stack.CapabilityChecksumOffload | stack.CapabilitySaveRestore } // MaxHeaderLength implements stack.LinkEndpoint.MaxHeaderLength. Given that the |