mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-01 09:13:37 +00:00
In case of of error, the bnx2fc_cmd_mgr_alloc() function will call the bnx2fc_cmd_mgr_free() to perform the cleanup. The problem is that in one case the latter may try to scan some not-yet initialized lists, resulting in a kernel panic. This patch prevents this from happening by freeing the lists before calling bnx2fc_cmd_mgr_free(). Signed-off-by: Maurizio Lombardi <mlombard@redhat.com> Acked-by: Eddie Wai <eddie.wai@broadcom.com> Signed-off-by: Christoph Hellwig <hch@lst.de> |
||
|---|---|---|
| .. | ||
| 57xx_hsi_bnx2fc.h | ||
| bnx2fc.h | ||
| bnx2fc_constants.h | ||
| bnx2fc_debug.c | ||
| bnx2fc_debug.h | ||
| bnx2fc_els.c | ||
| bnx2fc_fcoe.c | ||
| bnx2fc_hwi.c | ||
| bnx2fc_io.c | ||
| bnx2fc_tgt.c | ||
| Kconfig | ||
| Makefile | ||