diff options
author | Dmitry Torokhov <dtor@google.com> | 2015-07-09 17:17:57 -0700 |
---|---|---|
committer | Brett Rogers <brettrogers11@gmail.com> | 2016-02-20 14:05:07 -0800 |
commit | 289184d8d4ef53fc254449ee99fdcef3b064aedc (patch) | |
tree | 3364c16e2552c02e13b2396d9f18cbd62ba0fae4 /net/ax25/ax25_out.c | |
parent | 862518ae8df76d87c7e816e272a26ad0a9cb1464 (diff) | |
download | kernel_samsung_smdk4412-289184d8d4ef53fc254449ee99fdcef3b064aedc.tar.gz kernel_samsung_smdk4412-289184d8d4ef53fc254449ee99fdcef3b064aedc.tar.bz2 kernel_samsung_smdk4412-289184d8d4ef53fc254449ee99fdcef3b064aedc.zip |
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>
Diffstat (limited to 'net/ax25/ax25_out.c')
0 files changed, 0 insertions, 0 deletions