diff options
author | 2013-11-16 20:37:46 -0800 | |
---|---|---|
committer | 2013-11-18 12:53:40 +0100 | |
commit | 23dfe136e2bf8d9ea1095704c535368a9bc721da (patch) | |
tree | 96e0dbf3e208565d1eca4a2a19d33a41acfbd48d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | netfilter: synproxy: correct wscale option passing (diff) | |
download | linux-dev-23dfe136e2bf8d9ea1095704c535368a9bc721da.tar.xz linux-dev-23dfe136e2bf8d9ea1095704c535368a9bc721da.zip |
netfilter: fix wrong byte order in nf_ct_seqadj_set internal information
In commit 41d73ec053d2, sequence number adjustments were moved to a
separate file. Unfortunately, the sequence numbers that are stored
in the nf_ct_seqadj structure are expressed in host byte order. The
necessary ntohl call was removed when the call to adjust_tcp_sequence
was collapsed into nf_ct_seqadj_set. This broke the FTP NAT helper.
Fix it by adding back the byte order conversions.
Reported-by: Dawid Stawiarski <dawid.stawiarski@netart.pl>
Signed-off-by: Phil Oester <kernel@linuxace.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