rhashtable: Do hashing inside of rhashtable_lookup_compare()
authorThomas Graf <tgraf@suug.ch>
Fri, 2 Jan 2015 22:00:14 +0000 (23:00 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Jan 2015 19:32:56 +0000 (14:32 -0500)
commit8d24c0b43125ec26cc80e04588477a9a2afc025c
treed02e1b74bf49017dd4fecdeaf82a1e4f8f64a25d
parentdd9553988879a3ff71a86323b88409e7631c4e5d
rhashtable: Do hashing inside of rhashtable_lookup_compare()

Hash the key inside of rhashtable_lookup_compare() like
rhashtable_lookup() does. This allows to simplify the hashing
functions and keep them private.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Cc: netfilter-devel@vger.kernel.org
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rhashtable.h
lib/rhashtable.c
net/netfilter/nft_hash.c
net/netlink/af_netlink.c