]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: inet: Remove count from inet_listen_hashbucket
authorMartin KaFai Lau <kafai@fb.com>
Thu, 12 May 2022 00:05:52 +0000 (17:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 16:56:22 +0000 (16:56 +0000)
commitbb9bcf47fba79cdba8d29901019ec9d09b0e485e
tree2fe4a3663a8ff02de05c6b5bac94b430cdbce4d0
parentde634368e079e0e351213e5ea9b0af531c9afb2a
net: inet: Remove count from inet_listen_hashbucket

[ Upstream commit 8ea1eebb49a2dfee1dce621a638cc1626e542392 ]

After commit 0ee58dad5b06 ("net: tcp6: prefer listeners bound to an address")
and commit d9fbc7f6431f ("net: tcp: prefer listeners bound to an address"),
the count is no longer used.  This patch removes it.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Stable-dep-of: 871019b22d1b ("net: set SOCK_RCU_FREE before inserting socket into hashtable")
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c