]> git.baikalelectronics.ru Git - kernel.git/commit
tilegx: fix some issues in the SW TSO support
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 25 Oct 2012 07:25:20 +0000 (07:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Oct 2012 07:50:08 +0000 (03:50 -0400)
commitb351f20442a7f758eba063b291584d979ed41bdc
tree1f1cc48405056656e704a48c34d56be4d62630f6
parent3362de5df67c3a8aa6bd2bb3fc7a67c5d3bf42f7
tilegx: fix some issues in the SW TSO support

This change correctly computes the header length and data length in
the fragments to avoid a bug where we would end up with extremely
slow performance.  Also adopt use of skb_frag_size() accessor.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Cc: stable@vger.kernel.org [v3.6]
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilegx.c