🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Steffen Klassert Fri, 06 Nov 2026 07:47
Re: [PATCH net 1/1] xfrm: ipcomp: account full fragment pages in truesize
#12063
Author: Steffen Klassert
Date: Fri, 06 Nov 2026 07:47
21 lines
10181 bytes
On Fri, Oct 23, 2026 at 02:32:17AM +0800, Zhiling Zou wrote:
> ipcomp_post_acomp() allocates order-0 pages for decompressed skb
> fragments, but on input charges truesize by the decompressed byte count.
> When the output ends partway through a page, the unused tail of its final
> page is not accounted to the receiving socket. Repeated IPComp packets
> can therefore retain more memory than the socket receive-memory limits
> charge.
> 
> Round the decompressed length up to page size when charging input skb
> truesize, matching the pages attached to the skb. Leave output accounting
> unchanged.
> 
> Fixes: 7d7e5a60c62e ("ipsec: ipcomp - Decompress into frags if necessary")
> Cc: stable@vger.kernel.org
> Reported-by: Vega <vega@nebusec.ai>
> Link: https://bugtracker.nebusec.ai/f/13830
> Assisted-by: LLM
> Signed-off-by: Zhiling Zou <zhilinz@nebusec.ai>

Applied to the ipsec tree, thanks a lot!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads