act_nat: the checksum of ICMP doesn't have pseudo header
commitc57bbdaff4f0831cc97d6265a0d293c42b4e86ce
authorChangli Gao <xiaosuo@gmail.com>
Thu, 29 Jul 2010 14:04:18 +0000 (29 14:04 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 26 Aug 2010 23:43:44 +0000 (26 16:43 -0700)
tree9c82b52a600654a2ecf3a401b63b1928c539ab19
parent047e9f3e4e6bb1362b788d7d7d99e72a15357955
act_nat: the checksum of ICMP doesn't have pseudo header

[ Upstream commit 3a3dfb062c2e086c202d34f09ce29634515ad256 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/act_nat.c