| To: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [IPV6] Fix raw socket checksums with IPsec |
| From: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
| Date: | Tue, 3 May 2005 14:23:55 -0700 |
| Cc: | yoshfuji@xxxxxxxxxxxxxx, dlstevens@xxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20050430123301.GA25174@gondor.apana.org.au> |
| References: | <20050430123301.GA25174@gondor.apana.org.au> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sat, 30 Apr 2005 22:33:01 +1000 Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > 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> Applied, thanks Herbert. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Mystery packet killing tg3, Stephen Hemminger |
|---|---|
| Next by Date: | Re: [IPV6] Include ipv6.h for ipv6_addr_set, David S. Miller |
| Previous by Thread: | [PATCH] dynamic wep keys for airo.c, Benjamin Reed |
| Next by Thread: | Re: [IPV6] Include ipv6.h for ipv6_addr_set, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |