openwrtv3/package
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
2015-07-10 11:36:49 +00:00
..
base-files base-files: implemented basic GPIO control 2015-07-08 14:25:52 +00:00
boot uboot-lantiq: Add support for Arcadyan ARV8539PW22 (Speedport W 504V) 2015-07-07 13:45:10 +00:00
devel gdb: fix compilation for x86_64 with musl 2015-07-07 17:30:08 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel mac80211: add brcmfmac patch fixing user space picked MACs 2015-07-09 18:03:39 +00:00
libs openssl: update to v1.0.2d (CVE-2015-1793) 2015-07-09 13:04:27 +00:00
network ebtables: fix miscompilation on 64bit targets 2015-07-10 11:36:49 +00:00
system fstools: fstab.init fix spelling 2015-07-08 14:26:12 +00:00
utils nvram: get rid of NVRAM_SPACE 2015-07-08 06:05:43 +00:00
Makefile fix mklibs with musl 2015-06-25 10:14:22 +00:00