All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: <netfilter-devel@vger.kernel.org>
Cc: Florian Westphal <fw@strlen.de>
Subject: [PATCH nf-next 0/6] netfilter: reduce size of core data structures
Date: Fri, 28 May 2021 12:30:02 +0200	[thread overview]
Message-ID: <20210528103008.17425-1-fw@strlen.de> (raw)

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(-)

-- 
2.26.3


             reply	other threads:[~2021-05-28 10:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-28 10:30 Florian Westphal [this message]
2021-05-28 10:30 ` [PATCH nf-next 1/6] netfilter: x_tables: reduce xt_action_param by 8 byte Florian Westphal
2021-05-28 10:30 ` [PATCH nf-next 2/6] netfilter: reduce size of nf_hook_state on 32bit platforms Florian Westphal
2021-05-28 10:30 ` [PATCH nf-next 3/6] netfilter: nf_tables: add and use nft_sk helper Florian Westphal
2021-05-28 10:30 ` [PATCH nf-next 4/6] netfilter: nf_tables: add and use nft_thoff helper Florian Westphal
2021-05-28 10:30 ` [PATCH nf-next 5/6] netfilter: nft_set_pktinfo_unspec: remove unused arg Florian Westphal
2021-05-28 10:30 ` [PATCH nf-next 6/6] netfilter: nf_tables: remove xt_action_param from nft_pktinfo Florian Westphal
2021-05-28 10:58 ` [PATCH nf-next 0/6] netfilter: reduce size of core data structures Pablo Neira Ayuso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210528103008.17425-1-fw@strlen.de \
    --to=fw@strlen.de \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.