nfnetlink housekeeping
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | netfilter: nftables: add nft_pernet() helper functioninclude/ net/ net/ +2 more | +69 | 0 replies | |
| 2/5 | netfilter: nfnetlink: add struct nfnl_info and pass it to callbacksinclude/ net/ net/ +7 more | +286 | 0 replies | |
| 3/5 | netfilter: nfnetlink: pass struct nfnl_info to rcu callbacksinclude/ net/ net/ +2 more | +106 | 0 replies | |
| 4/5 | netfilter: nfnetlink: pass struct nfnl_info to batch callbacksinclude/ net/ net/ | +182 | 0 replies | |
| 5/5 | netfilter: nfnetlink: consolidate callback typesinclude/ net/ net/ +9 more | +271 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf-next 0/5] nfnetlink housekeeping
Hi,
This patchset contains updates for the nfnetlink infrastructure and its users.
1) Add nft_pernet() helper to obtain the nftables pernet area.
2) Add the nfnl_info structure to reduce the footprint of the nfnetlink callbacks. Update the rcu, mutex and batch callbacks to use it.
3) Add a callback type field to consolidate the nfnetlink subsystem callbacks.
Whenever possible, I have applied reverse xmas tree to variable definitions.
Pablo Neira Ayuso (5):
netfilter: nftables: add nft_pernet() helper function
netfilter: nfnetlink: add struct nfnl_info and pass it to callbacks
netfilter: nfnetlink: pass struct nfnl_info to rcu callbacks
netfilter: nfnetlink: pass struct nfnl_info to batch callbacks
netfilter: nfnetlink: consolidate callback types
include/linux/netfilter/nfnetlink.h | 33 +- include/net/netfilter/nf_tables.h | 8 + net/netfilter/ipset/ip_set_core.c | 165 ++++--- net/netfilter/nf_conntrack_netlink.c | 302 ++++++------ net/netfilter/nf_tables_api.c | 663 ++++++++++++++------------- net/netfilter/nf_tables_offload.c | 10 +- net/netfilter/nfnetlink.c | 58 ++- net/netfilter/nfnetlink_acct.c | 80 ++-- net/netfilter/nfnetlink_cthelper.c | 57 +-- net/netfilter/nfnetlink_cttimeout.c | 146 +++--- net/netfilter/nfnetlink_log.c | 42 +- net/netfilter/nfnetlink_osf.c | 21 +- net/netfilter/nfnetlink_queue.c | 84 ++-- net/netfilter/nft_chain_filter.c | 5 +- net/netfilter/nft_compat.c | 32 +- net/netfilter/nft_dynset.c | 5 +- 16 files changed, 898 insertions(+), 813 deletions(-)
Signature · 1 line
2.30.2