Re: [PATCH net 1/2] hinic3: Fix skb_checksum_help() failure handling in Tx path
Fan Gong <[email protected]> Mon, 3 Aug 2026 14:41:39 +0800
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
> From: Fan Gong <[email protected]> > > hinic3_tx_csum() falls back to skb_checksum_help() for unsupported VXLAN > packets, but ignores its return value. On failure, this can cause packets > with uncalculated or corrupted checksums to be transmitted. > > Fix this by returning the error status of skb_checksum_help() and marking > the offload as HINIC3_TX_OFFLOAD_INVALID in hinic3_tx_offload() so that the > packet is properly dropped. > > Fixes: 17fcb3dc12bb ("hinic3: module initialization and tx/rx logic") Oops. This patch was mistakenly sent. We will send a new patch after 24 hours.