Skip to content

stable fixes for 5.4

Pablo Neira Ayuso netfilter-devel stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10netfilter: nf_tables: fix nat hook table deletionnet/netfilter/nf_tables_api.c+6 -50 replies
2/10netfilter: nftables: add helper function to set the base sequence numbernet/netfilter/nf_tables_api.c+14 -90 replies
3/10netfilter: add helper function to set up the nfnetlink header and use itinclude/linux/netfilter/nfnetlink.h net/netfilter/ipset/ip_set_core.c net/netfilter/nf_conntrack_netlink.c +8 more+102 -2080 replies
4/10netfilter: nf_tables: use net_generic infra for transaction datainclude/net/netfilter/nf_tables.h include/net/netns/nftables.h net/netfilter/nf_tables_api.c +3 more+245 -1470 replies
5/10netfilter: nf_tables: add rescheduling points during loop detection walksnet/netfilter/nf_tables_api.c+6 -00 replies
6/10netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULEnet/netfilter/nf_tables_api.c+2 -10 replies
7/10netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chaininclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+24 -40 replies
8/10netfilter: nf_tables: reject unbound anonymous set before commit phaseinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+34 -50 replies
9/10netfilter: nf_tables: unbind non-anonymous set if rule construction failsnet/netfilter/nf_tables_api.c+2 -00 replies
10/10netfilter: nf_tables: fix scheduling-while-atomic splatnet/netfilter/nf_tables_api.c+0 -40 replies

Reviews trailers per patch

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

PatchPablo Neira Ayuso
1/10
2/10
3/10
4/10
5/10A-b
6/10
7/10
8/10
9/10
10/10

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 -stable,5.4 00/10] stable fixes for 5.4

Hi Greg, Sasha,

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

1) 1e9451cbda45 ("netfilter: nf_tables: fix nat hook table deletion")

2) 802b805162a1 ("netfilter: nftables: add helper function to set the base sequence number")

3) 19c28b1374fb ("netfilter: add helper function to set up the nfnetlink header and use it")

4) 0854db2aaef3 ("netfilter: nf_tables: use net_generic infra for transaction data")

5) 81ea01066741 ("netfilter: nf_tables: add rescheduling points during loop detection walks")

6) 1240eb93f061 ("netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE")

7) 26b5a5712eb8 ("netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain")

8) 938154b93be8 ("netfilter: nf_tables: reject unbound anonymous set before commit phase")

9) 3e70489721b6 ("netfilter: nf_tables: unbind non-anonymous set if rule construction fails")

10) 2024439bd5ce ("netfilter: nf_tables: fix scheduling-while-atomic splat")

Please, apply,
Thanks

Florian Westphal (4):
netfilter: nf_tables: fix nat hook table deletion
netfilter: nf_tables: use net_generic infra for transaction data
netfilter: nf_tables: add rescheduling points during loop detection walks
netfilter: nf_tables: fix scheduling-while-atomic splat

Pablo Neira Ayuso (6):
netfilter: nftables: add helper function to set the base sequence number
netfilter: add helper function to set up the nfnetlink header and use it
netfilter: nf_tables: incorrect error path handling with NFT_MSG_NEWRULE
netfilter: nf_tables: add NFT_TRANS_PREPARE_ERROR to deal with bound set/chain
netfilter: nf_tables: reject unbound anonymous set before commit phase
netfilter: nf_tables: unbind non-anonymous set if rule construction fails

 include/linux/netfilter/nfnetlink.h  |  27 ++
 include/net/netfilter/nf_tables.h    |  14 +
 include/net/netns/nftables.h         |   6 -
 net/netfilter/ipset/ip_set_core.c    |  17 +-
 net/netfilter/nf_conntrack_netlink.c |  77 ++--
 net/netfilter/nf_tables_api.c        | 510 ++++++++++++++++-----------
 net/netfilter/nf_tables_offload.c    |  29 +-
 net/netfilter/nf_tables_trace.c      |   9 +-
 net/netfilter/nfnetlink_acct.c       |  11 +-
 net/netfilter/nfnetlink_cthelper.c   |  11 +-
 net/netfilter/nfnetlink_cttimeout.c  |  22 +-
 net/netfilter/nfnetlink_log.c        |  11 +-
 net/netfilter/nfnetlink_queue.c      |  12 +-
 net/netfilter/nft_chain_filter.c     |  11 +-
 net/netfilter/nft_compat.c           |  11 +-
 net/netfilter/nft_dynset.c           |   6 +-
 16 files changed, 418 insertions(+), 366 deletions(-)
Signature · 1 line
2.30.2