kern/106438: hme0: Interface unable to do tx and rx checksumming when using ipfilter.

Remko Lodder remko at FreeBSD.org
Fri Dec 14 13:02:22 PST 2007


Pyun YongHyeon wrote:
> On Fri, Nov 30, 2007 at 07:04:41PM +0000, remko at FreeBSD.org wrote:
>  > Old Synopsis: [ipfilter] keep state does not seem to allow replies in on spar64 (and maybe others)
>  > New Synopsis: hme0: Interface unable to do tx and rx checksumming when using ipfilter.
>  > 
>  > Responsible-Changed-From-To: freebsd-bugs->freebsd-net
>  > Responsible-Changed-By: remko
>  > Responsible-Changed-When: Fri Nov 30 19:03:15 UTC 2007
>  > Responsible-Changed-Why: 
>  > Reassign to -net, this seems like a problem with the hme driver
>  > I can reproduce this on 8-CURRENT on my sparc64, after issueing
>  > a ifconfig hme0 -rxcsum and -txcsum the problem vanished and
>  > I could connect again (ipfilter stopped the packets since they
>  > had bad data included).
>  > 
>  > http://www.freebsd.org/cgi/query-pr.cgi?pr=106438
> 
> I didn't know hme(4) have checksum offload related issues. When I
> tried the same rule as PR I also noticed that Rx UDP packet was
> dropped. However I couldn't reproduce it with pf. You can easily use
> identical rule with small modification(flags S/SA instead of flags S).
> I'm not familiar with ipf internals so I'm not sure what caused
> the issue. Given that pf works well I guess there would be somthing
> in ipf that needs more attention.
> 
> Remko, would you retry it with pf on sparc64?
> 

Hello Pyun,

I just tried this with pf and indeed that works, so you (and manuel) are
correct that this is not hme but indeed ipfilter, my bad!

I will forward the ticket to darrenr, i can provide support with my
system where needed :)

cheers
remko

p.s. I can also try to reproduce the problem with 'if_em' :)

-- 
/"\   Best regards,                      | remko at FreeBSD.org
\ /   Remko Lodder                       | remko at EFnet
 X    http://www.evilcoder.org/          |
/ \   ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-bugs mailing list