Re: [PATCH] net: check skb partial checksum offset after trim
From: Vasily Averin <hidden>
Date: 2020-12-12 09:55:45
From: Vasily Averin <hidden>
Date: 2020-12-12 09:55:45
On 12/11/20 6:37 PM, Vasily Averin wrote:
It seems for me the similar problem can happen in __skb_trim_rcsum(). Also I doubt that that skb_checksum_start_offset(skb) checks in __skb_postpull_rcsum() and skb_csum_unnecessary() are correct, becasue they do not guarantee that skb have correct CHECKSUM_PARTIAL. Could somebody confirm it?
I've rechecked the code and I think now that other places are not affected, i.e. skb_push_rcsum() only should be patched. Thank you, Vasily Averin