netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Phil Sutter <phil@nwl.cc>
To: Pablo Neira Ayuso <pablo@netfilter.org>
Cc: netfilter-devel@vger.kernel.org, Etienne <champetier.etienne@gmail.com>
Subject: [iptables PATCH 0/5] Fixes for static builds
Date: Tue, 15 Mar 2022 14:26:14 +0100	[thread overview]
Message-ID: <20220315132619.20256-1-phil@nwl.cc> (raw)

This series formally submits a slightly modified version of the patch
attached to nfbz#1593 in patch 3. In addition to that:

Patch 1 is pure collateral and unrelated to the remaining series.

Patch 2 simplifies the compile-time conditional init-calls a bit. Done
before the actual fix to avoid adding #ifdefs only to remove them again
in the same series.

Patch 3 Fixes static builds of arp- and ebtables-nft, kindly provided by
Ettiene and slightly adjusted by me.

Patch 4 holds a mini-review of the resulting init_extensions*() call
sites.

Patch 5 fixes shell testsuite for use with static builds.

Etienne (1):
  xtables: Call init_extensions{,a,b}() for static builds

Phil Sutter (4):
  libxtables: Fix for warning in xtables_ipmask_to_numeric
  Simplify static build extension loading
  nft: Review static extension loading
  tests: shell: Fix 0004-return-codes_0 for static builds

 include/xtables.h                                  |  9 +++++++++
 iptables/ip6tables-standalone.c                    |  3 ---
 iptables/iptables-restore.c                        |  4 ----
 iptables/iptables-save.c                           |  4 ----
 iptables/iptables-standalone.c                     |  2 --
 .../shell/testcases/iptables/0004-return-codes_0   |  2 +-
 iptables/xtables-arp.c                             |  4 +---
 iptables/xtables-eb.c                              |  4 +---
 iptables/xtables-monitor.c                         |  4 ++--
 iptables/xtables-restore.c                         | 10 ++++++----
 iptables/xtables-save.c                            | 10 ++++++----
 iptables/xtables-standalone.c                      | 10 ++++++----
 iptables/xtables-translate.c                       | 14 ++++++++------
 libxtables/xtables.c                               |  2 +-
 14 files changed, 41 insertions(+), 41 deletions(-)

-- 
2.34.1


             reply	other threads:[~2022-03-15 13:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-15 13:26 Phil Sutter [this message]
2022-03-15 13:26 ` [iptables PATCH 1/5] libxtables: Fix for warning in xtables_ipmask_to_numeric Phil Sutter
2022-03-15 13:26 ` [iptables PATCH 2/5] Simplify static build extension loading Phil Sutter
2022-03-15 13:26 ` [iptables PATCH 3/5] xtables: Call init_extensions{,a,b}() for static builds Phil Sutter
2022-03-15 13:50   ` Etienne Champetier
2022-03-15 13:54     ` Phil Sutter
2022-03-15 13:26 ` [iptables PATCH 4/5] nft: Review static extension loading Phil Sutter
2022-03-15 13:26 ` [iptables PATCH 5/5] tests: shell: Fix 0004-return-codes_0 for static builds Phil Sutter

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=20220315132619.20256-1-phil@nwl.cc \
    --to=phil@nwl.cc \
    --cc=champetier.etienne@gmail.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).