act_nat: the checksum of ICMP doesn't have pseudo header
authorChangli Gao <xiaosuo@gmail.com>
Thu, 29 Jul 2010 14:04:18 +0000 (14:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Aug 2010 05:04:55 +0000 (22:04 -0700)
commit3a3dfb062c2e086c202d34f09ce29634515ad256
tree01569a926ed206fa91736eb06def56d000e46791
parent072d79a31a3b870b49886f4347e23f81b7eca3ac
act_nat: the checksum of ICMP doesn't have pseudo header

after updating the value of the ICMP payload, inet_proto_csum_replace4() should
be called with zero pseudohdr.

Signed-off-by: Changli Gao <xiaosuo@gmail.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_nat.c