diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-25 14:13:41 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-27 11:08:31 +0100 |
commit | 3b02b0adc242a72b5e46019b6a9e4f84823592f6 (patch) | |
tree | e91829c558cff3db252717d80c4c5161f62c93af /crypto/api.c | |
parent | 35acfbab6e5b229ea3c4807d1949c3ab8fda9818 (diff) |
netfilter: nft_set_hash: fix lookups with fixed size hash on big endian
Call jhash_1word() for the 4-bytes key case from the insertion and
deactivation path, otherwise big endian arch set lookups fail.
Fixes: 446a8268b7f5 ("netfilter: nft_set_hash: add lookup variant for fixed size hashtable")
Reported-by: Florian Westphal <fw@strlen.de>
Tested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions