X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fchunkeey.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric%2Fpatches-4.4%2F721-phy_packets.patch;h=8333dcca8f78803405a2f7f906db2f80558f8d7c;hp=79af5f91cd6bf3916f3f47951aac4dc8d6ef0c4e;hb=06f3b919021f3cf55cc4e1aa22650089dc2ab903;hpb=3faf65e92857aa5466791da3ec623c23af1f8130 diff --git a/target/linux/generic/patches-4.4/721-phy_packets.patch b/target/linux/generic/patches-4.4/721-phy_packets.patch index 79af5f91cd..8333dcca8f 100644 --- a/target/linux/generic/patches-4.4/721-phy_packets.patch +++ b/target/linux/generic/patches-4.4/721-phy_packets.patch @@ -1,6 +1,6 @@ --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h -@@ -1298,6 +1298,7 @@ enum netdev_priv_flags { +@@ -1297,6 +1297,7 @@ enum netdev_priv_flags { IFF_NO_QUEUE = 1<<21, IFF_OPENVSWITCH = 1<<22, IFF_L3MDEV_SLAVE = 1<<23, @@ -8,7 +8,7 @@ }; #define IFF_802_1Q_VLAN IFF_802_1Q_VLAN -@@ -1324,6 +1325,7 @@ enum netdev_priv_flags { +@@ -1323,6 +1324,7 @@ enum netdev_priv_flags { #define IFF_NO_QUEUE IFF_NO_QUEUE #define IFF_OPENVSWITCH IFF_OPENVSWITCH #define IFF_L3MDEV_SLAVE IFF_L3MDEV_SLAVE @@ -28,7 +28,7 @@ const struct header_ops *header_ops; unsigned int flags; -@@ -1669,6 +1676,10 @@ struct net_device { +@@ -1670,6 +1677,10 @@ struct net_device { struct mpls_dev __rcu *mpls_ptr; #endif @@ -41,7 +41,7 @@ */ --- a/include/linux/skbuff.h +++ b/include/linux/skbuff.h -@@ -2210,6 +2210,10 @@ static inline int pskb_trim(struct sk_bu +@@ -2211,6 +2211,10 @@ static inline int pskb_trim(struct sk_bu return (len < skb->len) ? __pskb_trim(skb, len) : 0; } @@ -52,7 +52,7 @@ /** * pskb_trim_unique - remove end from a paged unique (not cloned) buffer * @skb: buffer to alter -@@ -2332,16 +2336,6 @@ static inline struct sk_buff *dev_alloc_ +@@ -2315,16 +2319,6 @@ static inline struct sk_buff *dev_alloc_ } @@ -86,7 +86,7 @@ help --- a/net/core/dev.c +++ b/net/core/dev.c -@@ -2713,10 +2713,20 @@ static int xmit_one(struct sk_buff *skb, +@@ -2708,10 +2708,20 @@ static int xmit_one(struct sk_buff *skb, if (!list_empty(&ptype_all) || !list_empty(&dev->ptype_all)) dev_queue_xmit_nit(skb, dev);