Fix netstack build error on non-AMD64.
This stub had the wrong function signature. PiperOrigin-RevId: 262992682
This commit is contained in:
parent
af90e68623
commit
eac690e358
|
@ -16,10 +16,8 @@
|
|||
|
||||
package fdbased
|
||||
|
||||
import "gvisor.dev/gvisor/pkg/tcpip"
|
||||
|
||||
// Stubbed out version for non-linux/non-amd64 platforms.
|
||||
|
||||
func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, *tcpip.Error) {
|
||||
func newPacketMMapDispatcher(fd int, e *endpoint) (linkDispatcher, error) {
|
||||
return nil, nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue