kernel: mtk_eth_soc: fix encapsulation check for GSO fraglist packets
authorFelix Fietkau <nbd@nbd.name>
Thu, 13 Nov 2025 13:23:07 +0000 (13:23 +0000)
committerFelix Fietkau <nbd@nbd.name>
Thu, 13 Nov 2025 13:24:38 +0000 (14:24 +0100)
commit05feabfd094aad94f6be4cb2f6cee713a7489847
tree86453a8c39bef0d632178d622a2a1704989c8d43
parent92445cc982cff614c6c4bfd4cff869d803211a50
kernel: mtk_eth_soc: fix encapsulation check for GSO fraglist packets

Use skb->encapsulation flag instead of skb_tnl_header_len() to detect
encapsulated packets. Prevents false positives on non-encapsulated packets.

Reported-by: Mason-cw Chang (張哲維) <Mason-cw.Chang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/pending-6.12/732-05-net-ethernet-mtk_eth_soc-add-support-for-sending-fra.patch