[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#785189: sendfile stream data corruption



On Wed, 2015-05-13 at 10:56 +0200, Eduard Bloch wrote:
> Package: linux-source-3.16
> Severity: normal
> 
> Hi,
> 
> I am not sure how CKT handles bugfix requests but here is something
> which is IMHO worth being backported (it actually applies cleanly to
> 3.16). That problem might explain some of those issues:
> https://duckduckgo.com/?q=apt-cacher-ng+hashsum

Those are probably due to mirrors updating files in the wrong order, or
use of multiple inconsistent mirrors via round-robin DNS.

> >From current linux git, master branch:
> 
> commit 0ff28d9f4674d781e492bcff6f32f0fe48cf0fed
> Author: Christophe Leroy <christophe.leroy@c-s.fr>
> Date:   Wed May 6 17:26:47 2015 +0200
> 
>     splice: sendfile() at once fails for big files
[...]

This seems to specifically affect use of sendfile with AF_ALG sockets,
not regular network sockets, so it probably doesn't explain that bug.
Nevertheless this is a grave bug.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: