]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit3da3fff8006c608f19a51859d44ba47ca8b41461
tree1f1cc48405056656e704a48c34d56be4d62630f6
parentf8295ec22cb0f1ee6849b862addbfa3ea9320755
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