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

Skip to content
Commit 4747299b authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by John Stultz
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: I796b3c7b4a1a7fa35fba9e5192a4a403eb6e17de
Signed-off-by: default avatarDmitry Torokhov <dtor@google.com>
parent 38f0ec72
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