aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-16 08:29:42 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-16 08:29:42 +0000
commit145e6b92316cbb8360bbf97b90ac29d14af9b6a9 (patch)
tree5a31dc1390fcb56022639a3f31ad8f5ac8031c74 /target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch
parentd7d8a76a74345e7293f2c85172183a20c5d584a3 (diff)
downloadmaster-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.tar.gz
master-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.tar.bz2
master-187ad058-145e6b92316cbb8360bbf97b90ac29d14af9b6a9.zip
mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44828 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch')
-rw-r--r--target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch38
1 files changed, 0 insertions, 38 deletions
diff --git a/target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch b/target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch
deleted file mode 100644
index 7115468e2e..0000000000
--- a/target/linux/mvebu/patches-3.14/110-mvneta_fix_tso_and_chksum.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/drivers/net/ethernet/marvell/mvneta.c
-+++ b/drivers/net/ethernet/marvell/mvneta.c
-@@ -20,6 +20,7 @@
- #include <linux/mbus.h>
- #include <linux/module.h>
- #include <linux/interrupt.h>
-+#include <linux/if_vlan.h>
- #include <net/ip.h>
- #include <net/ipv6.h>
- #include <linux/io.h>
-@@ -1380,15 +1381,16 @@ static u32 mvneta_skb_tx_csum(struct mvn
- {
- if (skb->ip_summed == CHECKSUM_PARTIAL) {
- int ip_hdr_len = 0;
-+ __be16 l3_proto = vlan_get_protocol(skb);
- u8 l4_proto;
-
-- if (skb->protocol == htons(ETH_P_IP)) {
-+ if (l3_proto == htons(ETH_P_IP)) {
- struct iphdr *ip4h = ip_hdr(skb);
-
- /* Calculate IPv4 checksum and L4 checksum */
- ip_hdr_len = ip4h->ihl;
- l4_proto = ip4h->protocol;
-- } else if (skb->protocol == htons(ETH_P_IPV6)) {
-+ } else if (l3_proto == htons(ETH_P_IPV6)) {
- struct ipv6hdr *ip6h = ipv6_hdr(skb);
-
- /* Read l4_protocol from one of IPv6 extra headers */
-@@ -1399,7 +1401,7 @@ static u32 mvneta_skb_tx_csum(struct mvn
- return MVNETA_TX_L4_CSUM_NOT;
-
- return mvneta_txq_desc_csum(skb_network_offset(skb),
-- skb->protocol, ip_hdr_len, l4_proto);
-+ l3_proto, ip_hdr_len, l4_proto);
- }
-
- return MVNETA_TX_L4_CSUM_NOT;