diff options
author | Qingfang DENG <dqfext@gmail.com> | 2022-12-08 15:35:29 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2022-12-08 23:43:25 +0300 |
commit | 5fb45f95eec682621748b7cb012c6a8f0f981e6a (patch) | |
tree | 3ead6986b2833ce2ea2ac392981d173b8aea6a35 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f8bac7f9fdb0017b32157957ffffd490f95faa07 (diff) | |
download | linux-5fb45f95eec682621748b7cb012c6a8f0f981e6a.tar.xz |
netfilter: flowtable: really fix NAT IPv6 offload
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions