commit | ca71de6ba7c18a3a1576e04f7ed8d8508ceba4c9 | [log] [tgz] |
---|---|---|
author | Kumar Sanghvi <kumaras@chelsio.com> | Thu Mar 13 20:50:50 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 13 14:36:05 2014 -0400 |
tree | a1559c68612d6f4d031f5fa3894e4760fd82f339 | |
parent | c2b955e0063411826d2c4540c96a8f2c4e1c2cb0 [diff] |
cxgb4: Calculate len properly for LSO path Commit 0034b29 ("cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()") introduced a regression where-in length was calculated wrongly for LSO path, causing chip hangs. So, correct the calculation of len. Fixes: 0034b29 ("cxgb4: Don't assume LSO only uses SGL path in t4_eth_xmit()") Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>