diff options
author | Changli Gao <xiaosuo@gmail.com> | 2010-05-29 18:26:59 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 17:51:34 +0400 |
commit | 33c29dde7d04dc0ec0edb649d20ccf1351c13a06 (patch) | |
tree | 29c06e00942fc07554ebb918d7702d22eb8c7ff3 /lib/bitmap.c | |
parent | e3fe8558c7fc182972c3d947d88744482111f304 (diff) | |
download | linux-33c29dde7d04dc0ec0edb649d20ccf1351c13a06.tar.xz |
act_nat: fix the wrong checksum when addr isn't in old_addr/mask
fix the wrong checksum when addr isn't in old_addr/mask
For TCP and UDP packets, when addr isn't in old_addr/mask we don't do SNAT or
DNAT, and we should not update layer 4 checksum.
Signed-off-by: Changli Gao <xiaosuo@gmail.com>
----
net/sched/act_nat.c | 4 ++++
1 file changed, 4 insertions(+)
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/bitmap.c')
0 files changed, 0 insertions, 0 deletions