1
0
Fork 0
mirror of git://git.netfilter.org/iptables synced 2026-12-03 19:04:24 +00:00
No description
  • C 76.5%
  • Roff 10.7%
  • Shell 5.3%
  • Perl 2.2%
  • Python 1.3%
  • Other 4%
Find a file
Yegor Yefremov 4ff5396512 include: linux: drop bundled copy of types.h
The bundled include/linux/types.h is a copy of the kernel UAPI header
from v3.1-rc3. Since the build uses -I../include, it shadows the system
<linux/types.h>.

Kernel UAPI headers v7.3 changed arm64's asm/sigcontext.h, included via
<signal.h>, to use the __u128 type from linux/types.h:

  - __uint128_t vregs[32];
  + __u128 vregs[32];

The stale copy lacks __u128, so the build fails on arm64:

  asm/sigcontext.h:81:9: error: unknown type name '__u128'; did you mean '__u32'?

The system header provides everything the bundled copy did (the
__aligned_u64 and __sum16 types used by iptables have been available
since well before v3.10), so drop it, as was done for ebtables.

Link: https://lore.kernel.org/netfilter-devel/CAD04=wrZafKknWixGGRZWtYD_ydfdL4Uk39s_RkwZ6WUEVATKg@mail.gmail.com/
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
2026-11-07 10:39:04 +01:00
etc etc: Drop xtables.conf 2023-01-18 15:00:06 +01:00
extensions extensions: libxt_conntrack: Fail on untranslatable state match 2026-10-21 12:16:03 +02:00
include include: linux: drop bundled copy of types.h 2026-11-07 10:39:04 +01:00
iptables nft: use NFTNL_EXPR_RANGE_TO_DATA to fetch length 2026-10-19 13:22:10 +02:00
libipq Makefile: Fix for 'make distcheck' 2022-12-14 15:47:14 +01:00
libiptc libiptc: Fix for another segfault due to chain index NULL pointer 2023-10-12 17:47:13 +02:00
libxtables Revert "libxtables: refuse to run under file capabilities" 2026-02-23 23:45:53 +01:00
m4 build: remove -Wl,--no-as-needed and libiptc.so 2019-05-30 22:43:13 +02:00
utils Fix spelling mistakes 2023-12-12 11:54:44 +01:00
.gitignore Makefile.am: Integrate testsuites 2022-12-14 15:47:18 +01:00
autogen.sh build: abort autogen on subcommand failure 2011-08-01 21:26:08 +02:00
COMMIT_NOTES COMMIT_NOTES: notice to check for soversion bumps 2009-06-26 21:13:10 +02:00
configure.ac configure: Bump version for 1.8.13 release 2026-03-04 00:41:48 +01:00
COPYING doc: update GPL license text 2011-05-30 01:54:28 +02:00
INSTALL doc: clarify DEBUG usage macro 2013-07-08 04:51:15 +02:00
iptables-test.py tests: iptables-test, xlate-test: use os.unshare Python function 2026-03-05 11:53:57 +01:00
Makefile.am Makefile.am: Revert to old serial test harness 2024-11-06 17:41:55 +01:00
xlate-test.py tests: iptables-test, xlate-test: use os.unshare Python function 2026-03-05 11:53:57 +01:00