]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfe9a3a957af62a26a47a422a923485e91a2d4d3b
treed2c5f49696575f568dcdbf239e5a11b377fa5a81
parent52bcefa7c39222fce60f7c5ae9dda912d3fc3037
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