[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240614101826.30518-1-arefev@swemel.ru>
Date: Fri, 14 Jun 2024 13:18:26 +0300
From: Denis Arefev <arefev@...mel.ru>
To: jiri@...nulli.us
Cc: arefev@...mel.ru,
edumazet@...gle.com,
eperezma@...hat.com,
jasowang@...hat.com,
linux-kernel@...r.kernel.org,
lvc-project@...uxtesting.org,
mst@...hat.com,
netdev@...r.kernel.org,
virtualization@...ts.linux.dev,
xuanzhuo@...ux.alibaba.com
Subject: [PATCH v2] net: missing check virtio
Yeah, I was thinking of adding Fixes:
But this code is new, it complements what is done.
1. check (!(ret && (hdr->gso_size > needed) &&
((remainder > needed) || (remainder == 0))))
complements comit 0f6925b3e8da0
2. The setting of the SKBFL_SHARED_FRAG flag can be associated with this comit cef401de7be8c.
In the skb_checksum_help function, a check for skb_has_shared_frag has been added.
If the flag is not set, the skb buffer will remain non-linear, which is not good.
Powered by blists - more mailing lists