diff options
author | Patrick McHardy <kaber@trash.net> | 2010-02-11 12:27:09 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2010-02-11 12:27:09 +0100 |
commit | 010c0b9f34a4c567b431f8b49a58b7332ed42e47 (patch) | |
tree | 8922a2a87408ed185f3998011eab4c6a3e9f0c2b /net/netfilter | |
parent | f5b321bd37fbec9188feb1f721ab46a5ac0b35da (diff) | |
download | kernel_samsung_smdk4412-010c0b9f34a4c567b431f8b49a58b7332ed42e47.zip kernel_samsung_smdk4412-010c0b9f34a4c567b431f8b49a58b7332ed42e47.tar.gz kernel_samsung_smdk4412-010c0b9f34a4c567b431f8b49a58b7332ed42e47.tar.bz2 |
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 <kaber@trash.net>
Diffstat (limited to 'net/netfilter')
0 files changed, 0 insertions, 0 deletions