netdev
[Top] [All Lists]

Re: [IPV6] Fix raw socket checksums with IPsec

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@xxxxxxxxxxxxxxxxxxx>
References: <20050430123301.GA25174@xxxxxxxxxxxxxxxxxxx>
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>
  • Re: [IPV6] Fix raw socket checksums with IPsec, David S. Miller <=