aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_api.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-02-25 14:13:41 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 11:08:31 +0100
commit3b02b0adc242a72b5e46019b6a9e4f84823592f6 (patch)
treee91829c558cff3db252717d80c4c5161f62c93af /net/netfilter/nf_tables_api.c
parentnetfilter: remove unneeded switch fall-through (diff)
downloadlinux-dev-3b02b0adc242a72b5e46019b6a9e4f84823592f6.tar.xz
linux-dev-3b02b0adc242a72b5e46019b6a9e4f84823592f6.zip
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 'net/netfilter/nf_tables_api.c')
0 files changed, 0 insertions, 0 deletions