From: Fernando Fernandez Mancera <fmancera@suse.de>
To: soukjin.bae@samsung.com,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>
Cc: "netfilter-devel@vger.kernel.org"
<netfilter-devel@vger.kernel.org>,
"davem@davemloft.net" <davem@davemloft.net>,
"edumazet@google.com" <edumazet@google.com>,
"pabeni@redhat.com" <pabeni@redhat.com>,
"dsahern@kernel.org" <dsahern@kernel.org>,
"kuba@kernel.org" <kuba@kernel.org>,
"horms@kernel.org" <horms@kernel.org>,
"phil@nwl.cc" <phil@nwl.cc>,
"coreteam@netfilter.org" <coreteam@netfilter.org>,
"fw@strlen.de" <fw@strlen.de>,
"pablo@netfilter.org" <pablo@netfilter.org>
Subject: Re: [net-next,v3] ipv6: shorten reassembly timeout under fragment memory pressure
Date: Wed, 11 Feb 2026 16:10:49 +0100 [thread overview]
Message-ID: <207b2879-e022-4b50-837b-d536f8fcabcd@suse.de> (raw)
In-Reply-To: <20260211103243epcms1p2dd304fd11b28df04f4e680e8c90a7fc5@epcms1p2>
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 <soukjin.bae@samsung.com>
> 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 <soukjin.bae@samsung.com>
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.
next prev parent reply other threads:[~2026-02-11 15:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20260211030048epcms1p54c6ed78458f57def8e3163032498ca00@epcms1p2>
2026-02-11 10:32 ` [net-next,v3] ipv6: shorten reassembly timeout under fragment memory pressure 배석진
2026-02-11 15:10 ` Fernando Fernandez Mancera [this message]
[not found] ` <CGME20260211030048epcms1p54c6ed78458f57def8e3163032498ca00@epcms1p7>
2026-02-11 10:19 ` [net,v3] " 배석진
2026-02-11 15:36 ` [net-next,v3] " Eric Dumazet
2026-02-12 0:22 ` 배석진
2026-02-12 7:16 ` (2) " Eric Dumazet
2026-02-12 8:15 ` 배석진
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=207b2879-e022-4b50-837b-d536f8fcabcd@suse.de \
--to=fmancera@suse.de \
--cc=coreteam@netfilter.org \
--cc=davem@davemloft.net \
--cc=dsahern@kernel.org \
--cc=edumazet@google.com \
--cc=fw@strlen.de \
--cc=horms@kernel.org \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=pablo@netfilter.org \
--cc=phil@nwl.cc \
--cc=soukjin.bae@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox