]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: inet6_csk_xmit() optimization
authorEric Dumazet <edumazet@google.com>
Fri, 6 Feb 2026 17:34:26 +0000 (17:34 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Feb 2026 04:57:50 +0000 (20:57 -0800)
commit97d7ae6e14c80ec0c2558d24d818212590f2d64f
tree8e7f893b02e7c9d44c143eae2c304a7a84e65c7e
parenta6eee39cc2b95db3ae8ec92120f50aa899eb6652
tcp: inet6_csk_xmit() optimization

After prior patches, inet6_csk_xmit() can reuse inet->cork.fl.u.ip6
if __sk_dst_check() returns a valid dst.

Otherwise call inet6_csk_route_socket() to refresh inet->cork.fl.u.ip6
content and get a new dst.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260206173426.1638518-8-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/ipv6/inet6_connection_sock.c