From: Patrick McHardy Date: Thu, 11 Feb 2010 11:27:09 +0000 (+0100) Subject: netfilter: nf_nat: support mangling a single TCP packet multiple times X-Git-Tag: v2.6.34-rc1~233^2~303^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=010c0b9f34a4c567b431f8b49a58b7332ed42e47;p=pandora-kernel.git netfilter: nf_nat: support mangling a single TCP packet multiple times nf_nat_mangle_tcp_packet() can currently only handle a single mangling per window because it only maintains two sequence adjustment positions: the one before the last adjustment and the one after. This patch makes sequence number adjustment tracking in nf_nat_mangle_tcp_packet() optional and allows a helper to manually update the offsets after the packet has been fully handled. Signed-off-by: Patrick McHardy --- Reading git-diff-tree failed