82596: free resources on error
authorKulikov Vasiliy <segooon@gmail.com>
Fri, 9 Jul 2010 02:25:40 +0000 (02:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Jul 2010 02:42:06 +0000 (19:42 -0700)
commita607072b8685c18fde9c34aee8402eb6190b8518
tree2b728194657ab5f8e5e44636d6b8676b01a34c0b
parentf163530407280485034c836d908b49787a8189bc
82596: free resources on error

IRQ 56 was not freed anywhere (neither in i596_open() on error nor in
i596_close()), rx_bufs were not freed if init_i596_mem() fails,
netif_stop_queue() was not called.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/82596.c