Re: [PATCH] act_nat: the checksum of ICMP doesn't have pseudoheader

From: Herbert Xu
Date: Fri Jul 30 2010 - 06:24:22 EST

On Fri, Jul 30, 2010 at 06:10:19PM +0800, Changli Gao wrote:
> Is it really necessary, and I have noticed that netfilter doesn't call
> inet_proto_csum_replace4 in this way.

The checksum update is for the inner IP header. netfilter does
of course update the checksum, it just doesn't do it here which is
for the outer IP header.

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at