HomeFreeBSD

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

Description

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

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
Differential Revision: https://reviews.freebsd.org/D49628

Details

Provenance
adrianAuthored on Tue, Apr 1, 11:57 PM
Differential Revision
D49628: rtwn: don't treat UDP/TCP checksum failure as permanent failure
Parents
rG5c74aa3abd4e: rtwn: enable reception of BAR frames
Branches
Unknown
Tags
Unknown