Skip to content

Commit 5f2d25e

Browse files
thenzlChristoph Hellwig
authored andcommitted
be2iscsi: add an missing goto in error path
a jump to 'free_memory' is apparently missing Signed-off-by: Tomas Henzl <thenzl@redhat.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent 8b8f5d9 commit 5f2d25e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/scsi/be2iscsi/be_main.c‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4198,6 +4198,8 @@ static int hba_setup_cid_tbls(struct beiscsi_hba *phba)
41984198
kfree(phba->ep_array);
41994199
phba->ep_array = NULL;
42004200
ret = -ENOMEM;
4201+
4202+
goto free_memory;
42014203
}
42024204

42034205
for (i = 0; i < phba->params.cxns_per_ctrl; i++) {

0 commit comments

Comments
 (0)