netfilter: nft_hash: convert to use rhashtable callbacks
authorPatrick McHardy <kaber@trash.net>
Wed, 25 Mar 2015 13:07:48 +0000 (13:07 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 25 Mar 2015 16:18:34 +0000 (17:18 +0100)
commitbfd6e327e118d2fe443047829047862b49012457
tree8b71562f6117d2b3a8c487390ebaa9504cf40e0a
parent45d84751fb310fe0063cf005ffd6593b4c2321a8
netfilter: nft_hash: convert to use rhashtable callbacks

A following patch will convert sets to use so called set extensions,
where the key is not located in a fixed position anymore. This will
require rhashtable hashing and comparison callbacks to be used.

As preparation, convert nft_hash to use these callbacks without any
functional changes.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_hash.c