mirror of
https://github.com/tailscale/tailscale.git
synced 2024-12-11 02:34:43 +00:00
7675c3ebf2
Indf6014f1d7
we removed build tag gating preventing importation, which tripped a NetworkExtension limit test in corp. This was a reversal of25f0a3fc8f
which actually made the situation worse, hence the simplification. This commit goes back to the strategy in25f0a3fc8f
, and gets us back under the limit in my local testing. Admittedly, we don't fully understand the effects of importing or excluding importation of this package, and have seen mixed results, but this commit allows us to move forward again. Updates tailscale/corp#22125 Signed-off-by: Jordan Whited <jordan@tailscale.com>
24 lines
389 B
Go
24 lines
389 B
Go
// Copyright (c) Tailscale Inc & AUTHORS
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build ios
|
|
|
|
package gro
|
|
|
|
import (
|
|
"gvisor.dev/gvisor/pkg/tcpip/stack"
|
|
"tailscale.com/net/packet"
|
|
)
|
|
|
|
type GRO struct{}
|
|
|
|
func NewGRO() *GRO {
|
|
panic("unsupported on iOS")
|
|
}
|
|
|
|
func (g *GRO) SetDispatcher(_ stack.NetworkDispatcher) {}
|
|
|
|
func (g *GRO) Enqueue(_ *packet.Parsed) {}
|
|
|
|
func (g *GRO) Flush() {}
|