Bug#641419: linux-image-2.6.32-5-amd64: sendfile(2) behaves incorrectly in 2.6.32-5-amd64, overwriting written data
On Tue, Sep 13, 2011 at 01:34:17PM +0100, Ben Hutchings wrote:
> On Tue, 2011-09-13 at 10:18 +0000, Mike Ashton wrote:
> > Package: linux-2.6
> > Version: 2.6.32-35squeeze2
> > Severity: important
> >
> >
> > In the squeeze standard 64 bit kernel (with either 64 or 32 bit
> > userspace) sendfile(2) is overwriting data already written to the file
> > descriptor by write(2). Here's a minimal test case:
> [...]
>
> Please can you test whether the attached patch fixes this.
Hi Ben,
Yes, I can confirm that your patch not only fixes my minimal test case
but also the (much more complex) issue we were having. Thank you.
Should I deploy my custom deb file, or are you likely to push this out
soon enough that I'd be making an unnecessary mess?
--------------------------------------------
Mike Ashton
Network Infrastructure Manager
moo.com
:: email | mike@moo.com
--------------------------------------------
MOO Print Ltd
32 Scrutton Street (Rear)
London
EC2A 4RQ
+44(0) 207 392 2781
--------------------------------------------
Reply to: