Skip to content

Conversation

@copybara-service
Copy link

Account for endpoint header size when calculating Route MTU.

If r.mtu has been set, as it is after
#11857, we skip calculating the proper MTU
via endpoint.MTU and use r.mtu instead. However nothing in the callstack from
tcpip/stack/stack.go:FindRoute to setting r.mtu actually adjusts the size to be
able to hold the endpoint header. Hence we need to adjust it.

@copybara-service copybara-service bot added the exported Issue was exported automatically label Dec 12, 2025
If r.mtu has been set, as it is after
#11857, we skip calculating the proper MTU
via endpoint.MTU and use r.mtu instead. However nothing in the callstack from
tcpip/stack/stack.go:FindRoute to setting r.mtu actually adjusts the size to be
able to hold the endpoint header. Hence we need to adjust it.

PiperOrigin-RevId: 843416148
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

exported Issue was exported automatically

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant