summaryrefslogtreecommitdiff
path: root/net/ipv6
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@google.com>2025-09-19 11:35:28 +0300
committerJakub Kicinski <kuba@kernel.org>2025-09-22 21:38:42 +0300
commit6445bb832dc0ba0ab816e5bd79ef0209cdd46d3a (patch)
treefaa9e41430dd15f9fd18a93a1e10a9a76297000c /net/ipv6
parent50d51cef555ee42fe47dd51b71366a77895e5f0b (diff)
downloadlinux-6445bb832dc0ba0ab816e5bd79ef0209cdd46d3a.tar.xz
tcp: Remove osk from __inet_hash() arg.
__inet_hash() is called from inet_hash() and inet6_hash with osk NULL. Let's remove the 2nd arg from __inet_hash(). Signed-off-by: Kuniyuki Iwashima <kuniyu@google.com> Reviewed-by: Eric Dumazet <edumazet@google.com> Link: https://patch.msgid.link/20250919083706.1863217-2-kuniyu@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/inet6_hashtables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/inet6_hashtables.c b/net/ipv6/inet6_hashtables.c
index a3a9ea49fee2..64fcd7df0c9a 100644
--- a/net/ipv6/inet6_hashtables.c
+++ b/net/ipv6/inet6_hashtables.c
@@ -374,7 +374,7 @@ int inet6_hash(struct sock *sk)
int err = 0;
if (sk->sk_state != TCP_CLOSE)
- err = __inet_hash(sk, NULL);
+ err = __inet_hash(sk);
return err;
}