diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-25 16:13:41 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2019-02-27 13:08:31 +0300 |
commit | 3b02b0adc242a72b5e46019b6a9e4f84823592f6 (patch) | |
tree | e91829c558cff3db252717d80c4c5161f62c93af /block | |
parent | 35acfbab6e5b229ea3c4807d1949c3ab8fda9818 (diff) | |
download | linux-3b02b0adc242a72b5e46019b6a9e4f84823592f6.tar.xz |
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 'block')
0 files changed, 0 insertions, 0 deletions