rhashtable: Move masking back into key_hashfn
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 12 Mar 2015 03:49:38 +0000 (14:49 +1100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Mar 2015 18:35:30 +0000 (14:35 -0400)
commit8d2b18793d16e4186f00b07d031a25537c4cefb9
treee55c3a7180d4b898d2a3b7bc719c54234d8ee70f
parent6b9f53bc102d4e61b73c13f661de4a1c358768c1
rhashtable: Move masking back into key_hashfn

This patch reverts commit c88455ce50ae4224d84960ce2baa53e61580df27
("rhashtable: key_hashfn() must return full hash value") because
the only user of it always masks the hash value.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c