diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-25 14:13:41 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-27 14:46:23 +0100 |
commit | 223b167f01e30201e5de6db87b273ba5a36992a4 (patch) | |
tree | e30e5d36f23f917b760ff819402a17f3642b15b9 /scripts/checkkconfigsymbols.py | |
parent | 79db752d9004b3a77528078b68de18861805b800 (diff) |
netfilter: nft_set_hash: fix lookups with fixed size hash on big endian
[ Upstream commit 3b02b0adc242a72b5e46019b6a9e4f84823592f6 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/checkkconfigsymbols.py')
0 files changed, 0 insertions, 0 deletions