Moshe Shemesh 7a61fc86af net/mlx4_en: Fix panic on xmit while port is down
When port is down, tx drop counter update is not needed.
Updating the counter in this case can cause a kernel
panic as when the port is down, ring can be NULL.

Fixes: 63a664b7e92b ("net/mlx4_en: fix tx_dropped bug")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-11 19:40:26 -07:00
..
2016-09-04 11:41:12 -07:00
2016-08-06 09:20:13 -04:00
2016-06-15 22:06:06 -07:00
2016-09-07 20:16:37 +03:00
2016-05-09 00:00:28 -04:00
2016-08-23 23:09:27 -07:00
2016-07-19 19:25:43 -07:00