Phil Sutter da7504b07c netfilter: nft_tproxy: Fix port selector on Big Endian
[ Upstream commit 8cb4ec44de42b99b92399b4d1daf3dc430ed0186 ]

On Big Endian architectures, u16 port value was extracted from the wrong
parts of u32 sreg_port, just like commit 10596608c4d62 ("netfilter:
nf_tables: fix mismatch in big-endian system") describes.

Fixes: 4ed8eb6570a49 ("netfilter: nf_tables: Add native tproxy support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Acked-by: Florian Westphal <fw@strlen.de>
Acked-by: Máté Eckl <ecklm94@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-09 10:18:59 +01:00
..
2019-10-11 18:21:12 +02:00
2019-11-10 11:27:53 +01:00
2019-06-22 08:15:13 +02:00
2019-12-05 09:21:30 +01:00
2019-12-31 16:35:38 +01:00
2019-12-17 20:35:33 +01:00
2019-12-01 09:16:33 +01:00
2018-07-24 14:10:42 -07:00
2019-01-09 17:38:33 +01:00
2018-07-24 14:10:43 -07:00