You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/network/utils
Felix Fietkau 1c8148a858 ebtables: fix miscompilation on 64bit targets
The musl build "fix" introduced in r45108 removed all netinet/ether.h
includes, which made the prototypes of ether_aton and ether_ntoa
unavailable. As a result, the compiler assumed they return int instead
of a pointer. This currupted the pointer on 64bit targets, causing ebtables
to segfault in commands containing MAC addresses.

Since r46161 made it possible to include both the kernel and the libc
if_ether.h as long as the libc version is included first, this patch
changes the fix to remove the linux/if_ether.h from the ebtables source
(so the fixed version from the kernel is used) and ensures netinet/ether.h
is included early.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 46292
9 years ago
..
arptables arptables: fix musl build issues 9 years ago
comgt comgt: make ncm proto work via wwan proto 9 years ago
conntrack-tools conntrack-tools: add init script for conntrackd 9 years ago
curl curl: update curl to version 7.43.0 9 years ago
dante license info - revert r43155 10 years ago
ebtables ebtables: fix miscompilation on 64bit targets 9 years ago
iftop license info - revert r43155 10 years ago
iperf license info - revert r43155 10 years ago
iperf3 iperf3: use -D_GNU_SOURCE to fix build error on musl 9 years ago
iproute2 iproute2: honor LDFLAGS 9 years ago
ipset ipset: use in-tree kernel modules to fix crash issues 9 years ago
iptables iptables: reduce binary size 9 years ago
iputils iputils: fix musl compile errors 9 years ago
iw build: remove obsolete references to cris and avr32 9 years ago
iwcap license info - revert r43155 10 years ago
iwinfo iwinfo: fix segfault in mtd parsing code (#19768) 9 years ago
linux-atm linux-atm: add PKG_FIXUP 9 years ago
maccalc license info - revert r43155 10 years ago
nftables nftables: bump version 9 years ago
owipcalc license info - revert r43155 10 years ago
resolveip license info - revert r43155 10 years ago
rssileds license info - revert r43155 10 years ago
tcpdump license info - revert r43155 10 years ago
umbim umbim: auto retry when bringup fails 9 years ago
uqmi uqmi: auto retry when bringup fails 9 years ago
wireless-tools package/*: replace occurences of 'ln -sf' to '$(LN)' 10 years ago
wpan-tools wpan-tools: adds wpan-tools utility 9 years ago
wwan wwan: Improve USB modem hotplug script 9 years ago
xtables-addons xtables-addons: disable for kernel 4.1 for now 9 years ago