]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tcp: Remove hashinfo test for inet6?_lookup_run_sk_lookup().
authorKuniyuki Iwashima <kuniyu@google.com>
Fri, 22 Aug 2025 19:06:58 +0000 (19:06 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 26 Aug 2025 00:53:35 +0000 (17:53 -0700)
commit8150f3a44b17cded59c4cfb71efd59f0a293c48e
treec8a6cb8984de8723948544b5370d7f916291c3cd
parent2d842b6c670b9bffee7c16cda284eb49644d8169
tcp: Remove hashinfo test for inet6?_lookup_run_sk_lookup().

Commit 6c886db2e78c ("net: remove duplicate sk_lookup helpers")
started to check if hashinfo == net->ipv4.tcp_death_row.hashinfo
in __inet_lookup_listener() and inet6_lookup_listener() and
stopped invoking BPF sk_lookup prog for DCCP.

DCCP has gone and the condition is always true.

Let's remove the hashinfo test.

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