Re: Data corruption issue with splice() on 2.6.27.10

From: Herbert Xu
Date: Wed Jan 07 2009 - 06:51:00 EST


On Wed, Jan 07, 2009 at 02:29:06PM +0300, Evgeniy Polyakov wrote:
>
> That would not happen without scatter-gather support on the interface,
> date would be plain copied, and after Jarek's requst Willy confirmed
> that corruption happens with all acceleration being turned off.

It will happen without scatter-gather support. The problem
is with skb->head, which is always there. In any case, SG can't
make any difference because the skb is an inbound one and most
drivers only produce linear packets.

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/