Skip to content

new transaction infrastructure for nf_tables (v4)

Pablo Neira Ayuso netfilter-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11netfilter: nf_tables: deconstify table and chain in context structureinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+32 -320 replies
2/11netfilter: nf_tables: generalise transaction infrastructureinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+80 -580 replies
3/11netfilter: nf_tables: relocate commit and abort routines in the source filenet/netfilter/nf_tables_api.c+80 -800 replies
4/11netfilter: nf_tables: add message type to transactionsinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+45 -310 replies
5/11netfilter: nf_tables: use new transaction infrastructure to handle setsinclude/net/netfilter/nf_tables.h include/uapi/linux/netfilter/nf_tables.h net/netfilter/nf_tables_api.c +1 more+133 -180 replies
6/11netfilter: nf_tables: refactor chain statistic routinesnet/netfilter/nf_tables_api.c+24 -210 replies
7/11netfilter: nf_tables: use new transaction infrastructure to handle chaininclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+175 -450 replies
8/11netfilter: nf_tables: disabling table hooks always succeedsnet/netfilter/nf_tables_api.c+3 -60 replies
9/11netfilter: nf_tables: pass context to nf_tables_uptablenet/netfilter/nf_tables_api.c+26 -250 replies
10/11netfilter: nf_tables: use new transaction infrastructure to handle tableinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+136 -190 replies
11/11netfilter: nf_tables: use new transaction infrastructure to handle elementsinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c+78 -140 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/11] new transaction infrastructure for nf_tables (v4)

Hi!

A new round of the new transaction infrastructure patches for nf_tables, main changes from the previous version are:

* In patch 11/11 ("use new transaction infrastructure to handle elements"), the abort path has been simplified.

* The patch 6/11 ("netfilter: nf_tables: refactor chain statistic routines") is new in this stack, it basically reworks the chain counters so the follow up patch 7/11 to introduce chain transaction becomes smaller.

Comments welcome.

Pablo Neira Ayuso (11):
netfilter: nf_tables: deconstify table and chain in context structure
netfilter: nf_tables: generalise transaction infrastructure
netfilter: nf_tables: relocate commit and abort routines in the source file
netfilter: nf_tables: add message type to transactions
netfilter: nf_tables: use new transaction infrastructure to handle sets
netfilter: nf_tables: refactor chain statistic routines
netfilter: nf_tables: use new transaction infrastructure to handle chain
netfilter: nf_tables: disabling table hooks always succeeds
netfilter: nf_tables: pass context to nf_tables_uptable
netfilter: nf_tables: use new transaction infrastructure to handle table
netfilter: nf_tables: use new transaction infrastructure to handle elements

 include/net/netfilter/nf_tables.h        |   72 ++-
 include/uapi/linux/netfilter/nf_tables.h |    6 +
 net/netfilter/nf_tables_api.c            |  923 +++++++++++++++++++++---------
 net/netfilter/nft_lookup.c               |   10 +-
 4 files changed, 737 insertions(+), 274 deletions(-)
Signature · 1 line
1.7.10.4