umber-kernel/include/uapi
Phil Sutter 88c624236e include: uapi: netfilter_bridge.h: Cover for musl libc
[ Upstream commit 4edd4ba71ce0df015303dba75ea9d20d1a217546 ]

Musl defines its own struct ethhdr and thus defines __UAPI_DEF_ETHHDR to
zero. To avoid struct redefinition errors, user space is therefore
supposed to include netinet/if_ether.h before (or instead of)
linux/if_ether.h. To relieve them from this burden, include the libc
header here if not building for kernel space.

Reported-by: Alyssa Ross <hi@alyssa.is>
Suggested-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2026-03-04 07:20:39 -05:00
..
asm-generic
cxl
drm drm/xe: Limit num_syncs to prevent oversized allocations 2026-01-02 12:56:54 +01:00
fwctl
linux include: uapi: netfilter_bridge.h: Cover for musl libc 2026-03-04 07:20:39 -05:00
misc Char/Misc/IIO/Binder changes for 6.18-rc1 2025-10-04 16:26:32 -07:00
mtd
rdma RDMA/irdma: Fix irdma_alloc_ucontext_resp padding 2026-01-08 10:16:49 +01:00
regulator
scsi
sound ALSA: uapi: Fix typo in asound.h comment 2025-12-18 14:03:38 +01:00
video
xen
Kbuild