[PATCH v2] net: missing check virtio

From: Denis Arefev
Date: Fri Jun 14 2024 - 06:20:56 EST


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.