mlx4_en: Cancel port_up check in transmit function
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Sat, 20 Jun 2009 22:15:52 +0000 (22:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Jun 2009 02:18:05 +0000 (19:18 -0700)
commit3c05f5ef7c09291e51ae327e854bf43cb8e55a55
tree0751a4e0e7834f0d3cffbaf8d9cda7ff731db18f
parenta11faac79fdbf771ed1ab310f6ef44b389423fe7
mlx4_en: Cancel port_up check in transmit function

When closing the port, we stop all transmit queues under the transmit
lock. It ensures that we will not attempt to transmit new packets after
the physical port was closed.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_netdev.c
drivers/net/mlx4/en_tx.c