diff options
author | Qingfang DENG | 2022-12-08 20:35:29 +0800 |
---|---|---|
committer | Greg Kroah-Hartman | 2022-12-31 13:32:52 +0100 |
commit | 75b2692c90cee258fb10bab9660a75841939bcbe (patch) | |
tree | 508784dff5bbf1130615c569fc8677146e35e068 /drivers/rtc | |
parent | 7f47c91e465ae1aa56b92e090c163d32838f67ad (diff) |
netfilter: flowtable: really fix NAT IPv6 offload
[ Upstream commit 5fb45f95eec682621748b7cb012c6a8f0f981e6a ]
The for-loop was broken from the start. It translates to:
for (i = 0; i < 4; i += 4)
which means the loop statement is run only once, so only the highest
32-bit of the IPv6 address gets mangled.
Fix the loop increment.
Fixes: 0e07e25b481a ("netfilter: flowtable: fix NAT IPv6 offload mangling")
Fixes: 5c27d8d76ce8 ("netfilter: nf_flow_table_offload: add IPv6 support")
Signed-off-by: Qingfang DENG <dqfext@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/rtc')
0 files changed, 0 insertions, 0 deletions