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:Dmitry Torokhov <dtor@google.com> Git-commit: b35e1a7ab50ea07cbb1372f4689f3df888d89014 Git-repo: https://android.googlesource.com/kernel/common/ Signed-off-by:
Ashwanth Goli <ashwanth@codeaurora.org>
Loading
Please register or sign in to comment