diff options
-rw-r--r-- | drivers/scsi/iscsi_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c index 579eecfd186e..ff79e68b347c 100644 --- a/drivers/scsi/iscsi_tcp.c +++ b/drivers/scsi/iscsi_tcp.c | |||
@@ -3316,8 +3316,8 @@ iscsi_session_create(struct scsi_transport_template *scsit, | |||
3316 | r2tpool_alloc_fail: | 3316 | r2tpool_alloc_fail: |
3317 | for (cmd_i = 0; cmd_i < session->mgmtpool_max; cmd_i++) | 3317 | for (cmd_i = 0; cmd_i < session->mgmtpool_max; cmd_i++) |
3318 | kfree(session->mgmt_cmds[cmd_i]->data); | 3318 | kfree(session->mgmt_cmds[cmd_i]->data); |
3319 | iscsi_pool_free(&session->mgmtpool, (void**)session->mgmt_cmds); | ||
3320 | immdata_alloc_fail: | 3319 | immdata_alloc_fail: |
3320 | iscsi_pool_free(&session->mgmtpool, (void**)session->mgmt_cmds); | ||
3321 | mgmtpool_alloc_fail: | 3321 | mgmtpool_alloc_fail: |
3322 | iscsi_pool_free(&session->cmdpool, (void**)session->cmds); | 3322 | iscsi_pool_free(&session->cmdpool, (void**)session->cmds); |
3323 | cmdpool_alloc_fail: | 3323 | cmdpool_alloc_fail: |