]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: use dst6_mtu() instead of dst_mtu()
authorEric Dumazet <edumazet@google.com>
Fri, 30 Jan 2026 21:03:01 +0000 (21:03 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Feb 2026 01:49:29 +0000 (17:49 -0800)
commitb40f0130a23b6bab8b359e158a40af81f11f14be
tree771826b38244baa7d981a209d39d4bdc08eaf1d7
parent8776c4ef3ab22b95f55713f00a7a576e6402507d
ipv6: use dst6_mtu() instead of dst_mtu()

When we expect an IPv6 dst, use dst6_mtu() instead of dst_mtu()
to save some code space.

Due to current dst6_mtu() implementation, only convert
users in IPv6 stack.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260130210303.3888261-7-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/ip6_gre.c
net/ipv6/ip6_output.c
net/ipv6/ip6_tunnel.c
net/ipv6/ipv6_sockglue.c
net/ipv6/route.c
net/ipv6/tcp_ipv6.c