Public bug reported:

Binary package hint: linux-source-2.6.20

UDP packets checksum is wrong with my card:

[EMAIL PROTECTED]:~$ lspci | grep Marvell
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8053 PCI-E 
Gigabit Ethernet Controller (rev 15)

I discovered this bug trying to set up a DHCP server for my LAN, UDP
packets got dropped by the client because their checksum was wrong.

This is due to checksum offloading, if i disable it using:
sudo ethtool -K eth0 rx on tx off

everything works, if I re-enable it on tx then i'm unable to get an IP.
This only seems to affet UDP packets, for tcp packet everything works fine.

This is a similar bug:

https://bugs.launchpad.net/ubuntu/+source/libpcap/+bug/31273

it is normal that packets get captured with wrong checksum, cause the
checksum will be added by the card, however some cards (like mine) send
a wrong checksum on wire.

Driver:
[EMAIL PROTECTED]:~$ sudo ethtool -i eth0
driver: sky2
version: 1.13
firmware-version: N/A
bus-info: 0000:02:00.0

Output of ethtool -k:
[EMAIL PROTECTED]:~$ sudo ethtool -k eth0
Offload parameters for eth0:
Cannot get device udp large send offload settings: Operation not supported
rx-checksumming: on
tx-checksumming: on
scatter-gather: on
tcp segmentation offload: on
udp fragmentation offload: off
generic segmentation offload: off

(Notice "Cannot get device udp ....")

[EMAIL PROTECTED]:~$ uname -a
Linux steven-desktop 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 
GNU/Linux

(Credit to dnsmasq team for help)

** Affects: linux-source-2.6.20 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Wrong UDP Packets Checksum
https://bugs.launchpad.net/bugs/127749
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to