diff options
author | John Crispin <blogic@openwrt.org> | 2013-12-27 21:14:49 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-12-27 21:14:49 +0000 |
commit | c18a4e048c79b23918e6a550e722629295fcf80e (patch) | |
tree | 6c6163297bed88e92631ee8cd2fef78781124462 /target/linux | |
parent | 232ac1e9a1c31d6f57451b3dd439cccb1f6c1710 (diff) | |
download | upstream-c18a4e048c79b23918e6a550e722629295fcf80e.tar.gz upstream-c18a4e048c79b23918e6a550e722629295fcf80e.tar.bz2 upstream-c18a4e048c79b23918e6a550e722629295fcf80e.zip |
ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39168 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ramips/patches-3.10/999-raeth_fixes.patch | 13 |
1 files changed, 13 insertions, 0 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 new file mode 100644 index 0000000000..6e6e81a7ac --- /dev/null +++ b/target/linux/ramips/patches-3.10/999-raeth_fixes.patch @@ -0,0 +1,13 @@ +Index: linux-3.10.24/drivers/net/ethernet/ralink/ralink_soc_eth.c +=================================================================== +--- linux-3.10.24.orig/drivers/net/ethernet/ralink/ralink_soc_eth.c 2013-12-27 20:32:59.004068866 +0100 ++++ linux-3.10.24/drivers/net/ethernet/ralink/ralink_soc_eth.c 2013-12-27 21:16:44.892046631 +0100 +@@ -335,7 +335,7 @@ + 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; |