netfilter: reduce size of core data structures
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | netfilter: x_tables: reduce xt_action_param by 8 byteinclude/ net/ | +2 | 0 replies | |
| 2/6 | netfilter: reduce size of nf_hook_state on 32bit platformsinclude/ | +2 | 0 replies | |
| 3/6 | netfilter: nf_tables: add and use nft_sk helperinclude/ net/ net/ +1 more | +9 | 0 replies | |
| 4/6 | netfilter: nf_tables: add and use nft_thoff helperinclude/ net/ net/ +5 more | +23 | 0 replies | |
| 5/6 | netfilter: nft_set_pktinfo_unspec: remove unused arginclude/ include/ include/ +3 more | +43 | 0 replies | |
| 6/6 | netfilter: nf_tables: remove xt_action_param from nft_pktinfoinclude/ include/ include/ +1 more | +43 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf-next 0/6] netfilter: reduce size of core data structures
This series reduces a few data structures by moving members around or switching to a smaller type.
Also, this removes xt_action_param from nft_pktinfo, the former can be inited on-stack when needed in the nft_compat expression.
Florian Westphal (6):
netfilter: x_tables: reduce xt_action_param by 8 byte
netfilter: reduce size of nf_hook_state on 32bit platforms
netfilter: nf_tables: add and use nft_sk helper
netfilter: nf_tables: add and use nft_thoff helper
netfilter: nft_set_pktinfo_unspec: remove unused arg
netfilter: nf_tables: remove xt_action_param from nft_pktinfo
include/linux/netfilter.h | 4 +-- include/linux/netfilter/x_tables.h | 2 +- include/net/netfilter/nf_tables.h | 34 +++++++++++++-------- include/net/netfilter/nf_tables_ipv4.h | 40 +++++++++++------------- include/net/netfilter/nf_tables_ipv6.h | 42 ++++++++++++-------------- net/ipv4/netfilter/nft_reject_ipv4.c | 2 +- net/ipv6/netfilter/ip6_tables.c | 2 +- net/ipv6/netfilter/nft_reject_ipv6.c | 2 +- net/netfilter/nf_tables_core.c | 2 +- net/netfilter/nf_tables_trace.c | 6 ++-- net/netfilter/nft_chain_filter.c | 26 ++++++++-------- net/netfilter/nft_chain_nat.c | 4 +-- net/netfilter/nft_chain_route.c | 4 +-- net/netfilter/nft_compat.c | 28 +++++++++++------ net/netfilter/nft_exthdr.c | 8 ++--- net/netfilter/nft_flow_offload.c | 2 +- net/netfilter/nft_payload.c | 10 +++--- net/netfilter/nft_reject_inet.c | 4 +-- net/netfilter/nft_synproxy.c | 4 +-- net/netfilter/nft_tproxy.c | 4 +-- 20 files changed, 120 insertions(+), 110 deletions(-)
Signature · 1 line
2.26.3