From b43c20872eef7f8ddb5b753f2baae3f8071d8ecf Mon Sep 17 00:00:00 2001 From: Val Date: Mon, 31 Jul 2023 20:58:01 +0200 Subject: [PATCH] tmp: reminder to update max udp header when we start using bigger mtus --- wgengine/netstack/netstack.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wgengine/netstack/netstack.go b/wgengine/netstack/netstack.go index 54e991801..0a27f97f2 100644 --- a/wgengine/netstack/netstack.go +++ b/wgengine/netstack/netstack.go @@ -150,6 +150,7 @@ const nicID = 1 // maxUDPPacketSize is the maximum size of a UDP packet we copy in startPacketCopy // when relaying UDP packets. We don't use the 'mtu' const in anticipation of // one day making the MTU more dynamic. +// TODO: make this bigger const maxUDPPacketSize = 1500 // Create creates and populates a new Impl.