Re: [PATCH net v2] net: use skb_header_pointer() in gso_features_check() for TCPv4 GSO

From: Jakub Kicinski

Date: Tue Mar 10 2026 - 20:48:59 EST


On Sun, 8 Mar 2026 16:33:19 +0800 Guoyu Su wrote:
> - Drop the SKB_GSO_DODGY shortcut.
> - Use skb_header_pointer() for safe IPv4 header access.

Let's keep the DODGY check and directly compare skb->len to offset +
sizeof(*ip)? Some of the callers in the syz repro are probably buggy
(HSR?) so they should be fixed rather than ignored.