diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-05-03 23:44:59 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-03 23:44:59 +0000 |
commit | ffd373a53752a76dd11d0dfa85b62490ed0fd3b2 (patch) | |
tree | e097b2f441330ccc70ee3aba99da3fea7433e913 /pkg/tcpip/link/nested/nested.go | |
parent | e843fdda66e63c4e768f30e53b0ace8044804eae (diff) | |
parent | f0b3298db07df63fa74559d5689008f9de9980a9 (diff) |
Merge release-20210419.0-55-gf0b3298db (automated)
Diffstat (limited to 'pkg/tcpip/link/nested/nested.go')
-rw-r--r-- | pkg/tcpip/link/nested/nested.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg/tcpip/link/nested/nested.go b/pkg/tcpip/link/nested/nested.go index 89df35822..3e816b0c7 100644 --- a/pkg/tcpip/link/nested/nested.go +++ b/pkg/tcpip/link/nested/nested.go @@ -135,6 +135,14 @@ func (e *Endpoint) GSOMaxSize() uint32 { return 0 } +// SupportedGSO implements stack.GSOEndpoint. +func (e *Endpoint) SupportedGSO() stack.SupportedGSO { + if e, ok := e.child.(stack.GSOEndpoint); ok { + return e.SupportedGSO() + } + return stack.GSONotSupported +} + // ARPHardwareType implements stack.LinkEndpoint.ARPHardwareType func (e *Endpoint) ARPHardwareType() header.ARPHardwareType { return e.child.ARPHardwareType() |