| To: | YOSHIFUJI Hideaki <yoshfuji@xxxxxxxxxxxxxx>, David Stevens <dlstevens@xxxxxxxxxx>, "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [IPV6] Fix raw socket checksums with IPsec |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Sat, 30 Apr 2005 22:33:01 +1000 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
Hi: 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@xxxxxxxxxxxxxxxxxxx> -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [-mm patch] SIS900 must select MII, Adrian Bunk |
|---|---|
| Next by Date: | Re: [PATCH] net: Disable queueing when carrier is lost, Tommy Christensen |
| Previous by Thread: | [-mm patch] SIS900 must select MII, Adrian Bunk |
| Next by Thread: | patch: Action repeat, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |