Thread (6 messages) 6 messages, 4 authors, 2024-07-03

Re: [PATCH v2] net: missing check virtio

From: Jakub Kicinski <kuba@kernel.org>
Date: 2024-06-19 00:45:01
Also in: lkml, virtualization

On Fri, 14 Jun 2024 13:18:26 +0300 Denis Arefev wrote:
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. 
The Fixes tag indicates how far back the bug would trigger.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help