From: nbd Date: Mon, 4 Aug 2014 06:15:14 +0000 (+0000) Subject: kernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=94b9ee5c7285d6969407f949bc8a898687306960;p=openwrt.git kernel/3.1{3, 4}: fix IFF_NO_IP_ALIGN flag location Fix IFF_NO_IP_ALIGN location which is collide with new netdev private flag IFF_MACVLAN. Signed-off-by: Sergey Ryazanov git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41992 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/target/linux/generic/patches-3.13/721-phy_packets.patch b/target/linux/generic/patches-3.13/721-phy_packets.patch index b6344f431b..e781f76542 100644 --- a/target/linux/generic/patches-3.13/721-phy_packets.patch +++ b/target/linux/generic/patches-3.13/721-phy_packets.patch @@ -28,7 +28,7 @@ #define IFF_LIVE_ADDR_CHANGE 0x100000 /* device supports hardware address * change when it's running */ #define IFF_MACVLAN 0x200000 /* Macvlan device */ -+#define IFF_NO_IP_ALIGN 0x200000 /* do not ip-align allocated rx pkts */ ++#define IFF_NO_IP_ALIGN 0x400000 /* do not ip-align allocated rx pkts */ #define IF_GET_IFACE 0x0001 /* for querying only */ diff --git a/target/linux/generic/patches-3.14/721-phy_packets.patch b/target/linux/generic/patches-3.14/721-phy_packets.patch index 04b5b3af56..d90462eec1 100644 --- a/target/linux/generic/patches-3.14/721-phy_packets.patch +++ b/target/linux/generic/patches-3.14/721-phy_packets.patch @@ -28,7 +28,7 @@ #define IFF_LIVE_ADDR_CHANGE 0x100000 /* device supports hardware address * change when it's running */ #define IFF_MACVLAN 0x200000 /* Macvlan device */ -+#define IFF_NO_IP_ALIGN 0x200000 /* do not ip-align allocated rx pkts */ ++#define IFF_NO_IP_ALIGN 0x400000 /* do not ip-align allocated rx pkts */ #define IF_GET_IFACE 0x0001 /* for querying only */