]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ipv6: colocate inet6_cork in inet_cork_full
authorEric Dumazet <edumazet@google.com>
Fri, 30 Jan 2026 21:03:03 +0000 (21:03 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 3 Feb 2026 01:49:30 +0000 (17:49 -0800)
commitb409a7f7176bb8fc0002b8592d14b11ebe481b1d
tree892fa362d9916a99eeb66b3bac3d61728d5e6212
parentfe8570186f100b6cc499b2f7705946baf1388cde
ipv6: colocate inet6_cork in inet_cork_full

All inet6_cork users also use one inet_cork_full.

Reduce number of parameters and increase data locality.

This saves ~275 bytes of code on x86_64.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@google.com>
Link: https://patch.msgid.link/20260130210303.3888261-9-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/ipv6.h
include/net/inet_sock.h
include/net/ipv6.h
net/ipv6/ip6_output.c
net/ipv6/raw.c