Skip to content

Netfilter fixes for -stable

Pablo Neira Ayuso netfilter-devel stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctxnet/netfilter/nf_tables_api.c+6 -90 replies
2/3netfilter: nf_tables: wait for rcu grace period on net_device removalinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+37 -70 replies
3/3netfilter: nf_tables: do not defer rule destruction via call_rcuinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+14 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -stable,5.4 0/3] Netfilter fixes for -stable

Hi Greg, Sasha,

This batch contains a backport fix for 5.4 -stable.

The following list shows the backported patches, I am using original commit IDs for reference:

1) 8965d42bcf54 ("netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx")

This is a stable dependency for the next patch.

2) c03d278fdf35 ("netfilter: nf_tables: wait for rcu grace period on net_device removal")

3) b04df3da1b5c ("netfilter: nf_tables: do not defer rule destruction via call_rcu")

This is a fix-for-fix for patch 2.

These three patches are required to fix the netdevice release path for netdev family basechains.

NOTE: -stable kernels >= 5.4 already provide these backport fixes.

Please, apply,
Thanks

** BLURB HERE ***

Florian Westphal (2):
netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctx
netfilter: nf_tables: do not defer rule destruction via call_rcu

Pablo Neira Ayuso (1):
netfilter: nf_tables: wait for rcu grace period on net_device removal

 net/netfilter/nf_tables_api.c | 51 ++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 15 deletions(-)
Signature · 1 line
2.30.2