mlx4_en: Fix crash upon device initialization error
authorAlexander Guller <alexg@mellanox.com>
Sun, 9 Oct 2011 05:29:35 +0000 (05:29 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Oct 2011 03:42:58 +0000 (23:42 -0400)
Netdevice was being freed without being unregistered first if
mlx4_SET_PORT_general or mlx4_INIT_PORT failed.

Signed-off-by: Alexander Guller <alexg@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found