net/packet, wgengine/netstack: remove workaround for old gvisor ECN bug

Fixes #2642

Change-Id: Ic02251d24a4109679645d1c8336e0f961d0cce13
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2022-03-26 21:13:55 -07:00
committed by Brad Fitzpatrick
parent 5a44f9f5b5
commit e4d8d5e78b
3 changed files with 0 additions and 114 deletions

View File

@ -563,7 +563,6 @@ func (ns *Impl) injectInbound(p *packet.Parsed, t *tstun.Wrapper) filter.Respons
case 6:
pn = header.IPv6ProtocolNumber
}
p.RemoveECNBits() // Issue 2642
if debugPackets {
ns.logf("[v2] packet in (from %v): % x", p.Src, p.Buffer())
}