mlx4_en: Fix a race at restart task
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 20 Apr 2009 04:26:05 +0000 (04:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Apr 2009 08:47:04 +0000 (01:47 -0700)
commit1e338db56e5a6a5bb93884c1fb3b0b9f01958f93
treeae32849ed1d499aaaf06d2dcfb809e86a5095216
parent9a4f92a603cd72ee534cead20cbc627b34cfc884
mlx4_en: Fix a race at restart task

The query whether the port is up or not should be done at
the execution of the restart task and not when it is queued.

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