mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: remove GRO from ingress flow
GRO is getting moved and updated. This removes it in preparation for a follow-up CL. PiperOrigin-RevId: 621984030
This commit is contained in:
committed by
gVisor bot
parent
3e952d1e30
commit
c9964aa985
@@ -16,7 +16,6 @@ package netstack
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"gvisor.dev/gvisor/pkg/abi/linux"
|
||||
"gvisor.dev/gvisor/pkg/errors/linuxerr"
|
||||
@@ -516,14 +515,3 @@ func (s *Stack) PortRange() (uint16, uint16) {
|
||||
func (s *Stack) SetPortRange(start uint16, end uint16) error {
|
||||
return syserr.TranslateNetstackError(s.Stack.SetPortRange(start, end)).ToError()
|
||||
}
|
||||
|
||||
// GROTimeout implements inet.Stack.GROTimeout.
|
||||
func (s *Stack) GROTimeout(nicID int32) (time.Duration, error) {
|
||||
timeout, err := s.Stack.GROTimeout(tcpip.NICID(nicID))
|
||||
return timeout, syserr.TranslateNetstackError(err).ToError()
|
||||
}
|
||||
|
||||
// SetGROTimeout implements inet.Stack.SetGROTimeout.
|
||||
func (s *Stack) SetGROTimeout(nicID int32, timeout time.Duration) error {
|
||||
return syserr.TranslateNetstackError(s.Stack.SetGROTimeout(tcpip.NICID(nicID), timeout)).ToError()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user