re(4) checksum offload problem

Kris Kennaway kris at FreeBSD.org
Tue Oct 16 11:54:25 PDT 2007


Jelte Jansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hi,
> 
> i'm seeing bad IP/UDP checksums on packets on a realtek gigabit network
> card. Turning offloading off (ifconfig -txcsum) seems to make the
> problem disappear.
> 
> Attached are pcap files showing the bad checksums; the IP header is set
> to 0x0000 and then TCP/UDP headers are wrong too. The machine in
> question is on .99. These were taken on the host itself but i also see
> them on the other machine.

Are you sure?  The host itself does not see the correct checksums on the 
packets it sends, because they are not calculated until the packet is in 
the driver.  This is even documented in the tcpdump manpage :)

Kris



More information about the freebsd-current mailing list