Page MenuHomeFreeBSD

rtwn: don't treat UDP/TCP checksum failure as permanent failure
Needs ReviewPublic

Authored by adrian on Wed, Apr 2, 12:00 AM.
Referenced Files
Unknown Object (File)
Thu, Apr 3, 4:19 AM
Unknown Object (File)
Wed, Apr 2, 10:16 PM
Unknown Object (File)
Wed, Apr 2, 5:37 PM
Subscribers

Details

Reviewers
jrtc27
Group Reviewers
wireless
Summary

jrtc27@freebsd.org reported that DHCP wasn't working on some
networks. She dug into it and found that the RTL8812AU/RTL8812AU
NICs seem to be failing UDP frames w/ a zero checksum, which is
a valid "there's no checksum" checksum.

So, just pass those frames up the stack and let the IP stack
deal with it. If the hardware claims the frames did pass TCP/UDP
checksum then still mark those frames with the checksum offload
bits.

PR: kern/285387

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 63273
Build 60157: arc lint + arc unit