Thread (2 messages) 2 messages, 2 authors, 2005-05-03

Re: [IPV6] Fix raw socket checksums with IPsec

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-05-03 21:23:55

On Sat, 30 Apr 2005 22:33:01 +1000
Herbert Xu [off-list ref] 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@gondor.apana.org.au>
Applied, thanks Herbert.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help