android_packages_modules_Co.../Tethering/src/android/net/ip
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr bd3d103436 Clamp the advertised IPv6 MTU to 1280-1400
RaParams is populated with the upstream IPv4 MTU, rather than the IPv6
or route MTU. This change clamps that value between 1280 and 1400. 1280
as it is the minimum IPv6 MTU and 1400 to keep QUIC working. A follow up
change could improve on this by either adding the IPv6 MTU to
LinkProperties, or (possibly better) binding and connecting a UDP socket
to determine the MTU. Note that at that point the MTU in the Tether6Key
should also be fixed.

Test: TH
Flag: EXEMPT low risk
Bug: 432676104
Change-Id: I1d900039caf84c58cd04fdb52bdeaf2d1b846268
2025-08-01 12:48:46 -07:00
..
DadProxy.java Deduplicate InterfaceParams 2022-03-04 16:53:51 +01:00
IpServer.java Clamp the advertised IPv6 MTU to 1280-1400 2025-08-01 12:48:46 -07:00
NeighborPacketForwarder.java Use SocketUtils from shared lib 2022-12-16 07:34:51 +00:00
RouterAdvertisementDaemon.java Revert "Refactor RouterAdvertisementDaemon with FdEventsReader" 2023-12-20 06:46:42 +00:00