mlx4_en: Fix not deleted napi structures
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 18 May 2009 03:48:59 +0000 (20:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 May 2009 03:48:59 +0000 (20:48 -0700)
commit72876a603422d3767273ffb3918033fa1bfda0f3
treed2c5f49696575f568dcdbf239e5a11b377fa5a81
parent2513dfb83fc775364fe85803d3a84d7ebe5763a5
mlx4_en: Fix not deleted napi structures

Napi structures are being created each time we open a port, but when
the port is closed the napi structure is only disabled but not removed.
This bug caused hang while removing the driver.

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