summaryrefslogtreecommitdiffstats
path: root/lib/cpumask.c
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2015-02-05 02:03:31 +0100
committerDavid S. Miller <davem@davemloft.net>2015-02-06 15:18:34 -0800
commitc88455ce50ae4224d84960ce2baa53e61580df27 (patch)
tree8d22b2be3dd981b8a17bf80d9d6f4d5c095bf1df /lib/cpumask.c
parent2ca292d968ef20cb04f31192d1f626bd8d782960 (diff)
downloadop-kernel-dev-c88455ce50ae4224d84960ce2baa53e61580df27.zip
op-kernel-dev-c88455ce50ae4224d84960ce2baa53e61580df27.tar.gz
rhashtable: key_hashfn() must return full hash value
The value computed by key_hashfn() is used by rhashtable_lookup_compare() to traverse both tables during a resize. key_hashfn() must therefore return the hash value without the buckets mask applied so it can be masked to the size of each individual table. Fixes: 97defe1ecf86 ("rhashtable: Per bucket locks & deferred expansion/shrinking") Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/cpumask.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud