tcp: get rid of twsk_unique()
authorEric Dumazet <edumazet@google.com>
Tue, 7 May 2024 16:41:40 +0000 (16:41 +0000)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 May 2024 03:25:55 +0000 (20:25 -0700)
commit383eed2de529287337d9153a5084d4291a7c69f2
treec9777ab7de71b12a64be8e9c4ec188314b4b0d65
parent33fb988b67050d9bb512f77f08453fa00088943c
tcp: get rid of twsk_unique()

DCCP is going away soon, and had no twsk_unique() method.

We can directly call tcp_twsk_unique() for TCP sockets.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20240507164140.940547-1-edumazet@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/timewait_sock.h
net/ipv4/inet_hashtables.c
net/ipv4/tcp_ipv4.c
net/ipv6/inet6_hashtables.c
net/ipv6/tcp_ipv6.c