summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile
diff options
context:
space:
mode:
authorKuniyuki Iwashima <kuniyu@amazon.com>2023-12-19 01:18:30 +0100
committerDavid S. Miller <davem@davemloft.net>2023-12-22 23:15:35 +0100
commit8002d44fe84dd7b98812aadcbc1bd897e270355c (patch)
tree90af38c04d00d50b9d47edf7a3dcfc9cbf9b0c9b /scripts/Makefile
parenttcp: Iterate tb->bhash2 in inet_csk_bind_conflict(). (diff)
downloadlinux-8002d44fe84dd7b98812aadcbc1bd897e270355c.tar.xz
linux-8002d44fe84dd7b98812aadcbc1bd897e270355c.zip
tcp: Check hlist_empty(&tb->bhash2) instead of hlist_empty(&tb->owners).
We use hlist_empty(&tb->owners) to check if the bhash bucket has a socket. We can check the child bhash2 buckets instead. For this to work, the bhash2 bucket must be freed before the bhash bucket. 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 '')
0 files changed, 0 insertions, 0 deletions