HomeFreeBSD

cxgbe(4): Do not panic when tx is called with invalid checksum requests.

Description

cxgbe(4): Do not panic when tx is called with invalid checksum requests.

There is no need to panic in if_transmit if the checksums requested are
inconsistent with the frame being transmitted. This typically indicates
that the kernel and driver were built with different INET/INET6 options,
or there is some other kernel bug. The driver should just throw away
the requests that it doesn't understand and move on.

Sponsored by: Chelsio Communications

(cherry picked from commit b9820bca183aba6c0c03a8b717bedd24da7428da)

Details

Provenance
npAuthored on Apr 28 2021, 8:45 PM
Parents
rG1c0a5613ac8f: cxgbe(4): hw.cxgbe.panic_on_fatal_err can be changed any time.
Branches
Unknown
Tags
Unknown