[PATCH v2 net-next 1/3] rhashtable: Allow lookup function to have compare function agument

2015-07-14 Thread Tom Herbert
Added rhashtable_lookup_fast_cmpfn which does a lookup in an rhash table with the compare function being taken from an argument. This allows different compare functions to be used on the same table. Signed-off-by: Tom Herbert --- include/linux/rhashtable.h | 20 +++- 1 file chang

Re: [PATCH v2 net-next 1/3] rhashtable: Allow lookup function to have compare function agument

2015-07-17 Thread Thomas Graf
On 07/14/15 at 04:45pm, Tom Herbert wrote: > Added rhashtable_lookup_fast_cmpfn which does a lookup in an rhash table > with the compare function being taken from an argument. This allows > different compare functions to be used on the same table. > > Signed-off-by: Tom Herbert Acked-by: Thomas