[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240626065555.35460-3-dracodingfly@gmail.com>
Date: Wed, 26 Jun 2024 14:55:55 +0800
From: Fred Li <dracodingfly@...il.com>
To: davem@...emloft.net,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
aleksander.lobakin@...el.com,
sashal@...nel.org,
linux@...ssschuh.net,
hawk@...nel.org,
nbd@....name,
mkhalfella@...estorage.com,
ast@...nel.org,
daniel@...earbox.net,
andrii@...nel.org,
martin.lau@...ux.dev,
song@...nel.org,
yonghong.song@...ux.dev,
john.fastabend@...il.com,
kpsingh@...nel.org,
sdf@...gle.com,
haoluo@...gle.com,
jolsa@...nel.org
Cc: netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
bpf@...r.kernel.org,
Fred Li <dracodingfly@...il.com>
Subject: [PATCH v2 0/2] net: Fix BUG_ON for segment frag_list with mangled gso_size and head_frag is true
This serices fix the BUG_ON when segment frag_list with mangled gso_size
and head_frag is true. This patch was tested on kernel 6.6.35.
v2 changes:
Updated with remove the sg condition may be more make sense.
Fred Li (2):
net: Fix skb_segment when splitting gso_size mangled skb having
linear-headed frag_list whose head_frag=true
test_bpf: Introduce an skb_segment test for frag_list whose
head_frag=true and gso_size was mangled
lib/test_bpf.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++
net/core/skbuff.c | 2 +-
2 files changed, 65 insertions(+), 1 deletion(-)
--
2.33.0
Powered by blists - more mailing lists