File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -165,10 +165,9 @@ static void qedi_tmf_resp_work(struct work_struct *work)
165
165
iscsi_block_session (session -> cls_session );
166
166
rval = qedi_cleanup_all_io (qedi , qedi_conn , qedi_cmd -> task , true);
167
167
if (rval ) {
168
- clear_bit (QEDI_CONN_FW_CLEANUP , & qedi_conn -> flags );
169
168
qedi_clear_task_idx (qedi , qedi_cmd -> task_id );
170
169
iscsi_unblock_session (session -> cls_session );
171
- return ;
170
+ goto exit_tmf_resp ;
172
171
}
173
172
174
173
iscsi_unblock_session (session -> cls_session );
@@ -177,6 +176,8 @@ static void qedi_tmf_resp_work(struct work_struct *work)
177
176
spin_lock (& session -> back_lock );
178
177
__iscsi_complete_pdu (conn , (struct iscsi_hdr * )resp_hdr_ptr , NULL , 0 );
179
178
spin_unlock (& session -> back_lock );
179
+
180
+ exit_tmf_resp :
180
181
kfree (resp_hdr_ptr );
181
182
clear_bit (QEDI_CONN_FW_CLEANUP , & qedi_conn -> flags );
182
183
}
You can’t perform that action at this time.
0 commit comments