]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: Remove inet6_hash().
authorKuniyuki Iwashima <kuniyu@google.com>
Fri, 19 Sep 2025 08:35:29 +0000 (08:35 +0000)
committerJakub Kicinski <kuba@kernel.org>
Mon, 22 Sep 2025 18:38:43 +0000 (11:38 -0700)
commit0ac44301e3bf4f5abc892ab530188ca95c61e59f
tree8726a422662b546a5ce70b1a9c0e07e910290fb8
parent6445bb832dc0ba0ab816e5bd79ef0209cdd46d3a
tcp: Remove inet6_hash().

inet_hash() and inet6_hash() are exactly the same.

Also, we do not need to export inet6_hash().

Let's consolidate the two into __inet_hash() and rename it to inet_hash().

Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250919083706.1863217-3-kuniyu@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/inet6_hashtables.h
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c
net/ipv6/inet6_hashtables.c
net/ipv6/tcp_ipv6.c