diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-07-10 11:36:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-07-10 11:36:49 +0000 |
commit | 1c8148a8588f116d81881159e2222dc49e89314a (patch) | |
tree | 3c8eb924e6dab294b3fbbb7f1e97a5d6c1b96204 /include/package.mk | |
parent | aee7bf2fca458ea88e4a2e61e4099957116cdbba (diff) | |
download | upstream-1c8148a8588f116d81881159e2222dc49e89314a.tar.gz upstream-1c8148a8588f116d81881159e2222dc49e89314a.tar.bz2 upstream-1c8148a8588f116d81881159e2222dc49e89314a.zip |
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
Diffstat (limited to 'include/package.mk')
0 files changed, 0 insertions, 0 deletions