Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b6f09e1a authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Gerrit - the friendly Code Review server
Browse files

net: fix iterating over hashtable in tcp_nuke_addr()



The actual size of the tcp hashinfo table is tcp_hashinfo.ehash_mask + 1
so we need to adjust the loop accordingly to get the sockets hashed into
the last bucket.

Change-Id: I5a00b5e25fd619741505b995ccea0f6d3773c116
Signed-off-by: default avatarDmitry Torokhov <dtor@google.com>
Git-commit: b35e1a7ab50ea07cbb1372f4689f3df888d89014
Git-repo: https://android.googlesource.com/kernel/common/


Signed-off-by: default avatarAshwanth Goli <ashwanth@codeaurora.org>
parent f3c64073
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment