commit | 8e5087e436d03a029ca8a5146b879223e9009c02 | [log] [tgz] |
---|---|---|
author | Dmitry Torokhov <dtor@google.com> | Thu Jul 09 17:17:57 2015 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:22:14 2020 +0200 |
tree | d228420ab52ba23c15f41772ed7b990e6ff3eb3e | |
parent | 2dc2deecd8b1332c60b64a30dd777ec519d090c0 [diff] |
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: Dmitry Torokhov <dtor@google.com>