diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-05-03 17:24:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-05-03 17:24:36 -0400 |
commit | 679a87382433cf12a28f07a7d5c240f30f0daa08 (patch) | |
tree | 128787f500b3a5d260fc620450865ad8a0a8c761 /include/asm-sparc64/hdreg.h | |
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>
Diffstat (limited to 'include/asm-sparc64/hdreg.h')
0 files changed, 0 insertions, 0 deletions