Skip to content

Netfilter fixes for -stable

Pablo Neira Ayuso netfilter-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: nf_tables: pass nft_chain to destroy function, not nft_ctxinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nft_immediate.c+10 -111 reply
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 -71 reply
3/3netfilter: nf_tables: do not defer rule destruction via call_rcuinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+15 -201 reply

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.10 0/3] Netfilter fixes for -stable

Hi Greg, Sasha,

This batch contains a backport fix for 5.10 -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.

Please, apply,
Thanks

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

 include/net/netfilter/nf_tables.h |  2 +-
 net/netfilter/nf_tables_api.c     | 54 ++++++++++++++++++++++---------
 net/netfilter/nft_immediate.c     |  2 +-
 3 files changed, 41 insertions(+), 17 deletions(-)
Signature · 1 line
2.30.2