]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[PATCH] Fix hardware checksum modification
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 14 Dec 2005 21:02:35 +0000 (13:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Dec 2005 00:08:56 +0000 (16:08 -0800)
commit53e2254fe13b88de5957b22a5264e8e01e599f51
tree7bd0ebbb1c56ca67640443f96099846dcf249317
parentfe2e17a405a58ec8a7138fee4ebe101858b636e0
[PATCH] 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>
Signed-off-by: Chris Wright <chrisw@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/ip_gre.c