diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-03-13 02:54:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-13 04:02:30 +0100 |
commit | 393619474ec0ba2a16dee12ec78fd43164f1e9b7 (patch) | |
tree | 892a4eeba956db8f8abc28420ec29ac4cb0e7e53 /drivers | |
parent | rhashtable: kill ht->shift atomic operations (diff) | |
download | linux-393619474ec0ba2a16dee12ec78fd43164f1e9b7.tar.xz linux-393619474ec0ba2a16dee12ec78fd43164f1e9b7.zip |
rhashtable: Fix read-side crash during rehash
This patch fixes a typo rhashtable_lookup_compare where we fail
to recompute the hash when looking up the new table. This causes
elements to be missed and potentially a crash during a resize.
Reported-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions