[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aNOwvVaDy8mv8bFY@strlen.de>
Date: Wed, 24 Sep 2025 10:50:05 +0200
From: Florian Westphal <fw@...len.de>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Pablo Neira Ayuso <pablo@...filter.org>,
Jozsef Kadlecsik <kadlec@...filter.org>, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
eric.dumazet@...il.com
Subject: Re: [PATCH nf] netfilter: nf_conntrack: do not skip entries in
/proc/net/nf_conntrack
Eric Dumazet <edumazet@...gle.com> wrote:
> diff --git a/net/netfilter/nf_conntrack_standalone.c b/net/netfilter/nf_conntrack_standalone.c
> index 1f14ef0436c65fccc8e64956a105d5473e21b55e..708b79380f047f32aa8e6047c52c807b4019f2b9 100644
> --- a/net/netfilter/nf_conntrack_standalone.c
> +++ b/net/netfilter/nf_conntrack_standalone.c
> @@ -317,6 +317,9 @@ static int ct_seq_show(struct seq_file *s, void *v)
> smp_acquire__after_ctrl_dep();
>
> if (nf_ct_should_gc(ct)) {
> + struct ct_iter_state *st = s->private;
> +
> + st->skip_elems--;
I'll route this via nf-next, I don't think there is
a need to add it to nf this close to release.
Thanks Eric!
Powered by blists - more mailing lists