diff options
| author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2025-04-09 19:36:47 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-11 18:58:11 -0700 |
| commit | 235bd9d21fcdf07dd125daa3e60ab64f8aefb927 (patch) | |
| tree | b2d416ea98c533077e816803408848fa3058a65e /include | |
| parent | net: Unexport shared functions for DCCP. (diff) | |
| download | linux-235bd9d21fcdf07dd125daa3e60ab64f8aefb927.tar.gz linux-235bd9d21fcdf07dd125daa3e60ab64f8aefb927.zip | |
tcp: Rename tcp_or_dccp_get_hashinfo().
DCCP was removed, so tcp_or_dccp_get_hashinfo() should be renamed.
Let's rename it to tcp_get_hashinfo().
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://patch.msgid.link/20250410023921.11307-5-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/inet_hashtables.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index d172b64a6320..4564b5d348b1 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h @@ -175,9 +175,8 @@ struct inet_hashinfo { bool pernet; } ____cacheline_aligned_in_smp; -static inline struct inet_hashinfo *tcp_or_dccp_get_hashinfo(const struct sock *sk) +static inline struct inet_hashinfo *tcp_get_hashinfo(const struct sock *sk) { - /* TODO: rename function */ return sock_net(sk)->ipv4.tcp_death_row.hashinfo; } |
