Re: Data corruption issue with splice() on 2.6.27.10

From: Herbert Xu
Date: Wed Jan 07 2009 - 07:54:27 EST


On Wed, Jan 07, 2009 at 01:52:01PM +0100, Willy Tarreau wrote:
>
> Evgeniy, I'd like to understand something related to our apparent lack of
> knowledge of when the data is effectively transmitted. If we're focusing
> on the send part, I can't understand why I never reproduce the corruption
> when the data source is a file or loopback, but I only see it when the source
> is an ethernet interface. How is it possible that a problem affecting only

It doesn't happen with a file because in that case you don't
start with an skb so there is no skb->head. It probably doesn't
happen with loopback because loopback does GSO so again skb->head
does not exist (so to speak).

Cheers,
--
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/