09/11/2026 14:37, Andrey Mokrushin:
> When the EtherType is neither IPv4 nor IPv6, rte_net_get_ptype()
> skips the L3 parsing but then calls ptype_tunnel_without_udp() with
> the EtherType still in proto. This function compares proto with IP
> protocol numbers, so on little-endian EtherType 0x0400 (also an 802.3
> length field), 0x2900 and 0x2F00 are taken as IPIP, IPv6 and GRE:
> the packet is reported as an IP tunnel, and the data after the
> Ethernet header is parsed as the inner packet.
>
> Return after L2 for non-IP packets.
>
> Fixes: d21d855464ff ("net: support GRE in software packet type parser")
> Cc: [email protected]
>
> Signed-off-by: Andrey Mokrushin <[email protected]>
Applied, thanks.