git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fe855
)
act_nat: fix the wrong checksum when addr isn't in old_addr/mask
author
Changli Gao
<xiaosuo@gmail.com>
Sat, 29 May 2010 14:26:59 +0000
(14:26 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Jun 2010 13:51:34 +0000
(06:51 -0700)
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>
No differences found