Files
linux/drivers
Vitaly Kuznetsov bae5499cc5 bnx2x: avoid leaking memory on bnx2x_init_one() failures
bnx2x_init_bp() allocates memory with bnx2x_alloc_mem_bp() so if we
fail later in bnx2x_init_one() we need to free this memory
with bnx2x_free_mem_bp() to avoid leakages. E.g. I'm observing memory
leaks reported by kmemleak when a failure (unrelated) happens in
bnx2x_vfpf_acquire().

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Acked-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-31 14:10:34 -07:00
..
2016-05-31 11:52:59 -07:00
2016-05-03 11:22:10 +09:00
2016-04-30 13:56:46 -07:00
2016-05-29 22:32:27 -07:00
2016-05-20 18:33:37 -07:00
2016-04-30 14:15:56 -07:00
2016-05-01 14:11:12 -07:00
2016-04-29 17:37:10 -07:00