aboutsummaryrefslogtreecommitdiffstats
path: root/package/network
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-01-17 10:58:29 +0000
committerSteven Barth <steven@midlink.org>2015-01-17 10:58:29 +0000
commitdb806121a3a185daf21cb0d396f3d1c9d2e56d5c (patch)
tree73f497b22458c5f5660f0bec2dfd9447f849050d /package/network
parentd3125395826d62b4863c588acb3f484cb8f5a4ed (diff)
downloadupstream-db806121a3a185daf21cb0d396f3d1c9d2e56d5c.tar.gz
upstream-db806121a3a185daf21cb0d396f3d1c9d2e56d5c.tar.bz2
upstream-db806121a3a185daf21cb0d396f3d1c9d2e56d5c.zip
iproute2: fix header problem for musl
iproute2 includes "sanitized" linux kernel headers, which work fine for uClibc, however with musl there is some header conflict, principally some ipv6 structure redefinition. This patch removes <linux/in6.h> from include/linux/if_bridge.h to solve the problem. Signed-off-by: Russell Senior <russell@personaltelco.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43992 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network')
-rw-r--r--package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
new file mode 100644
index 0000000000..ca1125d1d5
--- /dev/null
+++ b/package/network/utils/iproute2/patches/910-sanitize_headers_for_musl.patch
@@ -0,0 +1,10 @@
+--- a/include/linux/if_bridge.h
++++ b/include/linux/if_bridge.h
+@@ -15,7 +15,6 @@
+
+ #include <linux/types.h>
+ #include <linux/if_ether.h>
+-#include <linux/in6.h>
+
+ #define SYSFS_BRIDGE_ATTR "bridge"
+ #define SYSFS_BRIDGE_FDB "brforward"