Hi,
I finally nailed down the problem. The culprits are sendfile(2) function together with Atheros NIC or module. The minimal code to reproduce the bug is available at http://pastebin.com/r6jjQ7JL.
Please create a file 3kB long, compile the provide code, then run ar8131-sendfile port createdfile on server with Atheros card.
On different machine run: netcat server_address port > localfile.
Please compare the content of localfile and createdfile - md5sum is sufficient.
Hi, pastebin. com/r6jjQ7JL.
I finally nailed down the problem. The culprits are sendfile(2) function together with Atheros NIC or module. The minimal code to reproduce the bug is available at http://
Please create a file 3kB long, compile the provide code, then run ar8131-sendfile port createdfile on server with Atheros card.
On different machine run: netcat server_address port > localfile.
Please compare the content of localfile and createdfile - md5sum is sufficient.
There is also a bug I just submitted in Debian: http:// bugs.debian. org/623059
Regards
Artur