diff options
author | Kuniyuki Iwashima <kuniyu@amazon.com> | 2023-12-19 01:18:31 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-12-22 23:15:35 +0100 |
commit | b2cb9f9ef240b4afaa1838b74fad077f17682f61 (patch) | |
tree | 7e0ee9a5359dd511850c213c50031a24e35c119e /include/net/inet_hashtables.h | |
parent | tcp: Check hlist_empty(&tb->bhash2) instead of hlist_empty(&tb->owners). (diff) | |
download | linux-b2cb9f9ef240b4afaa1838b74fad077f17682f61.tar.xz linux-b2cb9f9ef240b4afaa1838b74fad077f17682f61.zip |
tcp: Unlink sk from bhash.
Now we do not use tb->owners and can unlink sockets from bhash.
sk_bind_node/tw_bind_node are available for bhash2 and will be
used in the following patch.
Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r-- | include/net/inet_hashtables.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 25ba471ba161..98ba728aec08 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h @@ -88,7 +88,6 @@ struct inet_bind_bucket { unsigned short fast_sk_family; bool fast_ipv6_only; struct hlist_node node; - struct hlist_head owners; struct hlist_head bhash2; }; |