commit | 679a87382433cf12a28f07a7d5c240f30f0daa08 | [log] [tgz] |
---|---|---|
author | Herbert Xu <herbert@gondor.apana.org.au> | Tue May 03 14:24:36 2005 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 03 14:24:36 2005 -0700 |
tree | 128787f500b3a5d260fc620450865ad8a0a8c761 | |
parent | 31da185d8162ae0f30a13ed945f1f4d28d158133 [diff] |
[IPV6]: Fix raw socket checksums with IPsec I made a mistake in my last patch to the raw socket checksum code. I used the value of inet->cork.length as the length of the payload. While this works with normal packets, it breaks down when IPsec is present since the cork length includes the extension header length. So here is a patch to fix the length calculations. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>