netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: stable@vger.kernel.org
Cc: <netfilter-devel@vger.kernel.org>, Florian Westphal <fw@strlen.de>
Subject: [PATCH 6.6.y 0/2] netfilter: fix catchall element double-free
Date: Tue, 21 Nov 2023 13:14:20 +0100	[thread overview]
Message-ID: <20231121121431.8612-1-fw@strlen.de> (raw)

Hello,

This series contains the backports of two related changes to fix
removal of timed-out catchall elements.

As-is, removed element remains on the list and will be collected
again.

The adjustments are needed because of missing commit
0e1ea651c971 ("netfilter: nf_tables: shrink memory consumption of set elements"),
so we need to pass set_elem container struct instead of "elem_priv".

Pablo Neira Ayuso (2):
  netfilter: nf_tables: remove catchall element in GC sync path
  netfilter: nf_tables: split async and sync catchall in two functions

 net/netfilter/nf_tables_api.c | 53 ++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 17 deletions(-)

-- 
2.41.0


             reply	other threads:[~2023-11-21 12:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-21 12:14 Florian Westphal [this message]
2023-11-21 12:14 ` [PATCH 6.6.y 1/2] netfilter: nf_tables: remove catchall element in GC sync path Florian Westphal
2023-11-21 12:14 ` [PATCH 6.6.y 2/2] netfilter: nf_tables: split async and sync catchall in two functions Florian Westphal
2023-11-21 21:39 ` [PATCH 6.6.y 0/2] netfilter: fix catchall element double-free Pablo Neira Ayuso
2023-11-22 21:18   ` Sasha Levin

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=20231121121431.8612-1-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=stable@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).