Re: [net-next,v3] ipv6: shorten reassembly timeout under fragment memory pressure
From: Fernando Fernandez Mancera <hidden>
Date: 2026-02-11 15:11:04
Also in:
netfilter-devel
From: Fernando Fernandez Mancera <hidden>
Date: 2026-02-11 15:11:04
Also in:
netfilter-devel
On 2/11/26 11:32 AM, 배석진 wrote:
Changes in v3: - Fix build bot error and warnings - baseline update From c7940e3dd728fdc58c8199bc031bf3f8f1e8a20f Mon Sep 17 00:00:00 2001 From: Soukjin Bae <redacted> Date: Wed, 11 Feb 2026 11:20:23 +0900 Subject: [PATCH] ipv6: shorten reassembly timeout under fragment memory pressure Under heavy IPv6 fragmentation, incomplete fragment queues may persist for the full reassembly timeout even when fragment memory is under pressure. This can lead to prolonged retention of fragment queues that are unlikely to complete, causing newly arriving fragmented packets to be dropped due to memory exhaustion. Introduce an optional mechanism to shorten the IPv6 reassembly timeout when fragment memory usage exceeds the low threshold. Different timeout values are applied depending on the upper-layer protocol to balance eviction speed and completion probability. Signed-off-by: Soukjin Bae <redacted>
Hello, isn't this what net.ipv6.ip6frag_time does? In addition, the situation you described could be overcome by increasing the memory thresholds at net.ipv6.ip6frag_low_thresh and net.ipv6.ip6frag_high_thresh. Please, let me know if I am missing something. Thanks, Fernando.