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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

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(-)


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux