]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[GRE]: Fix hardware checksum modification
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Dec 2005 20:55:24 +0000 (12:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2005 20:55:24 +0000 (12:55 -0800)
commit1542272a60ab9c0655a13ead8b7d7a661365f9fb
tree1a40dc0dec4f538471000c5b9031ce373ac26e2d
parentacd9b7b4e08a3f0f48afa922d8e371414cf2d3b2
[GRE]: Fix hardware checksum modification

The skb_postpull_rcsum introduced a bug to the checksum modification.
Although the length pulled is offset bytes, the origin of the pulling
is the GRE header, not the IP header.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ip_gre.c