mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
netfilter: nf_flow_table_offload: fix the nat port mangle.
Shift on 32-bit word to define the port number depends on the flow direction. Fixes:c29f74e0df("netfilter: nf_flow_table: hardware offload support") Fixes:7acd9378dc("netfilter: nf_flow_table_offload: Correct memcpy size for flow_overload_mangle()") Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
This commit is contained in:
parent
f31ad71c44
commit
73327d47d2
1 changed files with 16 additions and 8 deletions
Loading…
Add table
Add a link
Reference in a new issue