nftables: Convert nft_hash to use generic rhashtable
authorThomas Graf <tgraf@suug.ch>
Sat, 2 Aug 2014 09:47:46 +0000 (11:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 3 Aug 2014 02:49:38 +0000 (19:49 -0700)
commitcfe4a9dda034e2b5b6ba0b6313b65dfb89ee451c
tree09f0da1fdd48a931ecded6a31d54bf3a07e8febb
parente341694e3eb57fcda9f1adc7bfea42fe080d8d7a
nftables: Convert nft_hash to use generic rhashtable

The sizing of the hash table and the practice of requiring a lookup
to retrieve the pprev to be stored in the element cookie before the
deletion of an entry is left intact.

Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: Patrick McHardy <kaber@trash.net>
Reviewed-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nft_hash.c
This page took 0.026088 seconds and 5 git commands to generate.