summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/999-raeth_fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/patches-3.10/999-raeth_fixes.patch')
-rw-r--r--target/linux/ramips/patches-3.10/999-raeth_fixes.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/target/linux/ramips/patches-3.10/999-raeth_fixes.patch b/target/linux/ramips/patches-3.10/999-raeth_fixes.patch
deleted file mode 100644
index 5e1bb4d2ec..0000000000
--- a/target/linux/ramips/patches-3.10/999-raeth_fixes.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- a/drivers/net/ethernet/ralink/ralink_soc_eth.c
-+++ b/drivers/net/ethernet/ralink/ralink_soc_eth.c
-@@ -335,7 +335,7 @@ static int fe_start_xmit(struct sk_buff
- if (priv->soc->tso)
- fe_start_tso(skb, dev, nr_frags, tx);
-
-- if (skb_shinfo(skb)->gso_segs > 1) {
-+ if (priv->soc->tso && (skb_shinfo(skb)->gso_segs > 1)) {
- struct iphdr *iph = NULL;
- struct tcphdr *th = NULL;
- struct ipv6hdr *ip6h = NULL;
-@@ -741,8 +741,7 @@ static int fe_probe(struct platform_devi
- dev_info(&pdev->dev, "Enabling TSO\n");
- netdev->features |= NETIF_F_SG | NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_IPV6_CSUM;
- }
--
-- netdev->hw_features = netdev->vlan_features = netdev->features;
-+ netdev->hw_features = netdev->features;
-
- netdev->irq = platform_get_irq(pdev, 0);
- if (netdev->irq < 0) {