Skip to content

netfilter: fix catchall element double-free

Florian Westphal netfilter-devel oe-kbuild-all stable 1 version Applied

Status from this message: Queued up, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2netfilter: nf_tables: remove catchall element in GC sync pathnet/netfilter/nf_tables_api.c+21 -50 replies
2/2netfilter: nf_tables: split async and sync catchall in two functionsnet/netfilter/nf_tables_api.c+32 -290 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchPablo Neira Ayuso
SeriesT-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 6.6.y 0/2] netfilter: fix catchall element double-free

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(-)
Signature · 1 line
2.41.0