Re: [PATCH] net: Fix the gso BUG_ON that treat the skb which head_frag is true as non head_frag

From: Willem de Bruijn
Date: Thu May 16 2024 - 14:00:00 EST


dracoding wrote:
> From: Fred Li <dracodingfly@xxxxxxxxx>
>
> The crashed kernel version is 5.16.20, and I have not test this patch
> because I dont find a way to reproduce it, and the mailine may be
> has the same problem.

That is a pretty old kernel.

There has been work in this space in the meantime. Such as commit
3dcbdb134f32 ("net: gso: Fix skb_segment splat when splitting gso_size
mangled skb having linear-headed frag_list") or commit 9e4b7a99a03a
("net: gso: fix panic on frag_list with mixed head alloc types").