Bug 236309

Summary: axe(4): PF & NAT'd outbound traffic has zero checksums with TXCSUM enabled
Product: Base System Reporter: eborisch+FreeBSD
Component: kernAssignee: freebsd-net mailing list <net>
Status: Open ---    
Severity: Affects Some People CC: hselasky, net, rgrimes, sjorge+signup, yongari
Priority: --- Keywords: needs-qa, regression
Version: 12.0-RELEASEFlags: koobs: mfc-stable12?
Hardware: amd64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235607

Description eborisch+FreeBSD 2019-03-06 05:26:00 UTC
I have a firewall box where the outbound connection to cable is ue / axe. If txcsum is enabled, PF-NAT-ed outbound traffic has a zero checksum. Locally generated outbound traffic is fine.

Disabling txcsum resolves the issue and restores connectivity through the NAT.

Worked fine on 11.2-p9.
Comment 1 eborisch+FreeBSD 2019-03-06 05:28:28 UTC
Currently on 12.0-RELEASE-p3.
Comment 2 Hans Petter Selasky freebsd_committer 2019-03-06 12:27:42 UTC
Diffing the sources used, reveal no changes. Maybe the problem is some mbuf flags changed for TX checksum offloading?

git diff origin/releng/12.0 origin/releng/11.2 sys/dev/usb/net/if_axe.c

--HPS
Comment 3 Jorge Schrauwen 2019-10-11 16:59:40 UTC
Sounds similar to 235607