mlx4_en: Validate port up prior to transmitting
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Tue, 24 Aug 2010 03:46:07 +0000 (03:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Aug 2010 21:54:50 +0000 (14:54 -0700)
commit3005ad40b95168aad530f1179cff47411b3ea8da
tree15a41dd56931e778ff9e5e80c5736ecc0ec9ad29
parente5cc44b2eb2b8192c9623eb877936063ba8556f3
mlx4_en: Validate port up prior to transmitting

We might try to use resources which were not activated.

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