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

Bug#623059: Data corruption when sendfile is used on atl1c Atheros NIC.



On Mon, Apr 25, 2011 at 05:58:12AM +0100, Ben Hutchings wrote:
> Your test program is broken; this function is missing a return
> statement:
[cut
> It might be that the variable 'cfd' ends up in the return value anyway.
> But you should fix this (and use compiler options -Wall and -Wextra).
Thanks for noticing it.

> The extra data at the start of 'apache.dat' and 'sendfile.dat' looks
> like the packet headers, so for some reason they have been duplicated.
> Please can you test the attached patch, following the instructions at
> <http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>?
Unfortunately I'll be able to test it after May 10th. So, if you already have
a report that the issue has been fixed, that's fine be me.

Best regards
	Artur



Reply to: