UDP checksum invalid on FreeBSD7/x86
Pyun YongHyeon
pyunyh at gmail.com
Sat Jun 21 00:21:53 UTC 2008
On Fri, Jun 20, 2008 at 11:54:55AM +0200, Peter Kirk wrote:
> On Friday 20 June 2008 11:38:16 Andrey V. Elsukov wrote:
> > Peter Kirk wrote:
> > >> Can you show `ifconfig -u` output?
> > >
> > > re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> > > options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
> >
> > It's problem in re(4) driver.
> > Try to use `ifconfig re0 -rxcsum -txcsum`. You can add these
> > parameters to your rc.conf.
>
> In /etc/rc.conf I changed the line
> ifconfig_re0="inet 192.168.1.13 netmask 255.255.255.0"
> to
> ifconfig_re0="-rxcsum -txcsum inet 192.168.1.13 netmask 255.255.255.0"
>
> Now the problem no longer appears, even with "net.inet.udp.checksum=1". Thanks
> for answering this so promptly, hopefuly the re(4) driver can be fixed to
> avoid this kind of problem (or the -rxcsum -txcsum added automatically for
> this card).
Try re(4) on 7-stable and let me know how it goes.
Most checksum offload and bus_dma(9) related issues were fixed in
7-stable.
--
Regards,
Pyun YongHyeon
More information about the freebsd-net
mailing list