From: Phil Oester Date: Sun, 17 Nov 2013 04:37:46 +0000 (-0800) Subject: netfilter: fix wrong byte order in nf_ct_seqadj_set internal information X-Git-Tag: v3.13-rc1~7^2~7^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23dfe136e2bf8d9ea1095704c535368a9bc721da;p=pandora-kernel.git 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 Signed-off-by: Phil Oester Signed-off-by: Pablo Neira Ayuso --- Reading git-diff-tree failed