commit | 49f7b33e63fec9d16e7ee62ba8f8ab4159cbdc26 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Mar 25 13:07:45 2015 +0000 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Wed Mar 25 17:18:33 2015 +0100 |
tree | 63ebd033f56bab0eb9f6fe3ebda773b87ddda1ea | |
parent | 14d14a5d2957a4a047b4dbabb6d5ef28a7a70b33 [diff] |
rhashtable: provide len to obj_hashfn nftables sets will be converted to use so called setextensions, moving the key to a non-fixed position. To hash it, the obj_hashfn must be used, however it so far doesn't receive the length parameter. Pass the key length to obj_hashfn() and convert existing users. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>