kernel: fix 3.18+ if_bridge.h header conflict with musl
authorFelix Fietkau <nbd@openwrt.org>
Fri, 27 Feb 2015 07:35:26 +0000 (07:35 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Fri, 27 Feb 2015 07:35:26 +0000 (07:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 44553

target/linux/generic/patches-3.18/270-bridge_header_fix.patch [new file with mode: 0644]
target/linux/generic/patches-3.19/270-bridge_header_fix.patch [new file with mode: 0644]
target/linux/generic/patches-4.0/270-bridge_header_fix.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-3.18/270-bridge_header_fix.patch b/target/linux/generic/patches-3.18/270-bridge_header_fix.patch
new file mode 100644 (file)
index 0000000..8b25db4
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/include/uapi/linux/if_bridge.h
++++ b/include/uapi/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"
diff --git a/target/linux/generic/patches-3.19/270-bridge_header_fix.patch b/target/linux/generic/patches-3.19/270-bridge_header_fix.patch
new file mode 100644 (file)
index 0000000..8b25db4
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/include/uapi/linux/if_bridge.h
++++ b/include/uapi/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"
diff --git a/target/linux/generic/patches-4.0/270-bridge_header_fix.patch b/target/linux/generic/patches-4.0/270-bridge_header_fix.patch
new file mode 100644 (file)
index 0000000..8b25db4
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/include/uapi/linux/if_bridge.h
++++ b/include/uapi/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"