]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6514a16e7253599763714920f8ce03a33f58485
treeae32849ed1d499aaaf06d2dcfb809e86a5095216
parent0ee23d6dd0a6b307ad5ed9a1d5bd7f79e4bd2126
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