Skip to content

Netfilter fixes for net

Pablo Neira Ayuso netdev netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4netfilter: nft_set_rbtree: Don't account for expired elements on insertionnet/netfilter/nft_set_rbtree.c+14 -70 replies
2/4netfilter: nft_set_pipapo: Disable preemption before getting per-CPU pointernet/netfilter/nft_set_pipapo.c+5 -10 replies
3/4netfilter: ctnetlink: memleak in filter initialization error pathnet/netfilter/nf_conntrack_netlink.c+22 -100 replies
4/4netfilter: nf_tables: hook list memleak in flowtable deletionnet/netfilter/nf_tables_api.c+24 -70 replies

Reviews trailers per patch

1 of 4 patches has a Reviewed-by or Acked-by.

PatchPhil SutterFlorian Westphal
1/4A-b
2/4Analysed-by
3/4
4/4

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 0/4] Netfilter fixes for net

Hi,

The following patchset contains Netfilter fixes for net:

1) Fix bogus EEXIST on element insertions to the rbtree with timeouts, from Stefano Brivio.

2) Preempt BUG splat in the pipapo element insertion path, also from Stefano.

3) Release filter from the ctnetlink error path.

4) Release flowtable hooks from the deletion path.

Please, pull these changes from:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git

Thank you.

----------------------------------------------------------------

The following changes since commit af7b4801030c07637840191c69eb666917e4135d:

Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net (2020-06-07 17:27:45 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git HEAD

for you to fetch changes up to 3003055f50663095472144994dac0339076031a8:

netfilter: nf_tables: hook list memleak in flowtable deletion (2020-06-12 17:48:21 +0200)

----------------------------------------------------------------
Pablo Neira Ayuso (2):
netfilter: ctnetlink: memleak in filter initialization error path
netfilter: nf_tables: hook list memleak in flowtable deletion

Stefano Brivio (2):
netfilter: nft_set_rbtree: Don't account for expired elements on insertion
netfilter: nft_set_pipapo: Disable preemption before getting per-CPU pointer

 net/netfilter/nf_conntrack_netlink.c | 32 ++++++++++++++++++++++----------
 net/netfilter/nf_tables_api.c        | 31 ++++++++++++++++++++++++-------
 net/netfilter/nft_set_pipapo.c       |  6 +++++-
 net/netfilter/nft_set_rbtree.c       | 21 ++++++++++++++-------
 4 files changed, 65 insertions(+), 25 deletions(-)