new transaction infrastructure for nf_tables
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | netfilter: nf_tables: deconstify table and chain in context structureinclude/ net/ | +32 | 2 replies | |
| 2/7 | netfilter: nf_tables: generalise transaction infrastructureinclude/ net/ | +75 | 1 reply | |
| 3/7 | netfilter: nf_tables: relocate commit and abort routines in the source filenet/ | +82 | 0 replies | |
| 4/7 | netfilter: nf_tables: better encapsulation for the rule transaction codenet/ | +69 | 1 reply | |
| 5/7 | netfilter: nf_tables: move set handling to the transaction infrastructureinclude/ include/ net/ +1 more | +141 | 1 reply | |
| 6/7 | netfilter: nf_tables: move chain handling to the transaction infrastructureinclude/ net/ | +164 | 1 reply | |
| 7/7 | netfilter: nf_tables: move table handling to the transaction infrastructureinclude/ net/ | +156 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/7] new transaction infrastructure for nf_tables
Hi,
This patchset contains updates to the transaction infrastructure and a new batch API to userspace to update tables, chains and sets. Basically, it generalises the existing rule batching so we can also include sets, chains and tables in one single batch. This helps to speed up updates since we save many netlink messages between kernel and userspace and this also improves several batch loading error cases that resulted in inconsistent configurations.
Still, this patchset doesn't address the abortion of chain policy/counter updates and new set elements addition/removals. Basically, this means that we don't have atomic set element updates yet, but that wasn't possible with the former API either.
Pablo Neira Ayuso (7):
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: better encapsulation for the rule transaction code
netfilter: nf_tables: move set handling to the transaction infrastructure
netfilter: nf_tables: move chain handling to the transaction infrastructure
netfilter: nf_tables: move table handling to the transaction infrastructure
include/net/netfilter/nf_tables.h | 31 +- include/uapi/linux/netfilter/nf_tables.h | 6 + net/netfilter/nf_tables_api.c | 830 ++++++++++++++++++++++-------- net/netfilter/nft_lookup.c | 15 +- 4 files changed, 656 insertions(+), 226 deletions(-)
Signature · 1 line
1.7.10.4