qlcnic: fix TSO race condition
authorSritej Velaga <sritej.velaga@qlogic.com>
Thu, 18 Apr 2013 08:10:05 +0000 (08:10 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Apr 2013 18:54:59 +0000 (14:54 -0400)
commit3eead213fe9828b511faf74a7ed566b56b2b3bcc
tree3a45c1af1152f7679a473872a902443698d8d797
parenta4325ea242d9d0889cb7e86811fef3ff3d714d29
qlcnic: fix TSO race condition

When driver receives a packet with gso size > 0 and when TSO is disabled,
it should be transmitted as a TSO packet to prevent Tx timeout and subsequent
firmware reset.

Signed-off-by: Sritej Velaga <sritej.velaga@qlogic.com>
Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_io.c