tile: avoid bug in tilepro net driver built with old hypervisor
authorChris Metcalf <cmetcalf@tilera.com>
Thu, 1 Aug 2013 15:36:42 +0000 (11:36 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Aug 2013 21:35:49 +0000 (14:35 -0700)
commit815d3baeaefa027eb5c3c715575ab71d4eed71ec
treef83b98ee13451620cbb3008907b958080f1f34dd
parent439a93a08407c244e9a5a5e4432ea85a2d06ec47
tile: avoid bug in tilepro net driver built with old hypervisor

Building against headers from an older Tilera hypervisor can cause
the frags[] array to be overrun.  Don't enable TSO in that case.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/tile/tilepro.c