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

2011-04-26 Thread Artur R. Czechowski
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

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

2011-04-25 Thread Ben Hutchings
I wrote: > Please can you test the attached patch, following the instructions at > ? Another user just confirmed that this fixed the bug for them, so I'll include this fix in the next kernel version for 'squeeze'. Of

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

2011-04-24 Thread Ben Hutchings
On Sun, 2011-04-17 at 02:30 +0200, Artur R. Czechowski wrote: > On Sun, Apr 17, 2011 at 01:09:51AM +0100, Ben Hutchings wrote: > > Try turning off TSO (ethtool -K eth0 tso off). > Oops, I forgot to add to my report that I already tried it with following > result: > inst:~# ethtool -K eth0 tso off >

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

2011-04-16 Thread Artur R. Czechowski
On Sun, Apr 17, 2011 at 01:09:51AM +0100, Ben Hutchings wrote: > Try turning off TSO (ethtool -K eth0 tso off). Oops, I forgot to add to my report that I already tried it with following result: inst:~# ethtool -K eth0 tso off Cannot set device tcp segmentation offload settings: Operation not suppor

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

2011-04-16 Thread Ben Hutchings
On Sun, 2011-04-17 at 01:10 +0200, Artur R. Czechowski wrote: > Package: linux-2.6 > Version: 2.6.32-33 > Severity: grave > File: /lib/modules/2.6.32-5-686-bigmem/kernel/drivers/net/atl1c/atl1c.ko > > Hello, > As far as I can tell it there is the bug occuring when combination of > sendfile(2) and

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

2011-04-16 Thread Artur R. Czechowski
Package: linux-2.6 Version: 2.6.32-33 Severity: grave File: /lib/modules/2.6.32-5-686-bigmem/kernel/drivers/net/atl1c/atl1c.ko Hello, As far as I can tell it there is the bug occuring when combination of sendfile(2) and module atl1c is used. The result of the bug is data corruption. Examples of da