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.

MFC after: 1 week
Sponsored by: Chelsio Communications

Details

Provenance
npAuthored on Apr 28 2021, 8:45 PM
Parents
rG41ce0e34ea42: [fib algo] Update fib_gen counter under FIB_MOD_LOCK.
Branches
Unknown
Tags
Unknown