rtl8139 4 bytes more BUG

Santiago Garcia Mantinan manty@i.am
Wed Mar 8 16:49:00 2000


> > This also happens with all the packages, not just UDP, the driver seems to
> > add a 4 bytes overhead on the package.

> Is this problem present with the new 8139too driver in kernel 2.3.x?

Yes, this happens also on the new driver.

This is  how I see that with 8139too driver and linux 2.3.49:

Internet Software Consortium DHCP Client 2.0
...
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
ip length 333 disagrees with bytes received 337.
accepting packet with data after udp payload.
DHCPOFFER from 192.168.1.5
DHCPREQUEST on eth0 to 255.255.255.255 port 67
ip length 333 disagrees with bytes received 337.
accepting packet with data after udp payload.

You can see this with a ping or whatever, seeing its length with tcpdump -e
gives you 4 bytes more as seen by the 8139 than seen on another host, on a
normal ping you get 102 bytes instead of 98 :-(((

This is a ping from the 8139 host to a 3com host as seen from the 8139 host, if
you look at this on the 3com host you'll see that both the echo request and
reply are 98 bytes long.

22:32:48.618184 0:e0:4c:66:88:e0 0:50:da:7b:ab:24 0800 98: 192.168.1.1 >
192.168.1.5: icmp: echo request (DF)
22:32:48.618335 0:50:da:7b:ab:24 0:e0:4c:66:88:e0 0800 102: 192.168.1.5 >
192.168.1.1: icmp: echo reply

That's all, if you need any more info, just ask!

Regards...
-- 
Manty/BestiaTester -> http://manty.i.am
 | To unsubscribe, send mail to Majordomo@cesdis.gsfc.nasa.gov, and within the
 |  body of the mail, include only the text:
 |   unsubscribe this-list-name youraddress@wherever.org
 | You will be unsubscribed as speedily as possible.