Thread (3 messages) flat view 3 messages, 1 author, 4d ago

Re: [PATCH net 1/2] hinic3: Fix skb_checksum_help() failure handling in Tx path

From: Fan Gong <gongfan1@huawei.com>
Date: 2026-08-03 06:41:48
Also in: linux-doc, lkml

From: Fan Gong <gongfan1@huawei.com>

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help