Nicholas Bellinger
dda585bfc6
iscsi-target: Fix ABORT_TASK + connection reset iscsi_queue_req memory leak
...
commit bbc0504885 upstream.
This patch fixes a iscsi_queue_req memory leak when ABORT_TASK response
has been queued by TFO->queue_tm_rsp() -> lio_queue_tm_rsp() after a
long standing I/O completes, but the connection has already reset and
waiting for cleanup to complete in iscsit_release_commands_from_conn()
-> transport_generic_free_cmd() -> transport_wait_for_tasks() code.
It moves iscsit_free_queue_reqs_for_conn() after the per-connection command
list has been released, so that the associated se_cmd tag can be completed +
released by target-core before freeing any remaining iscsi_queue_req memory
for the connection generated by lio_queue_tm_rsp().
Cc: Thomas Glanzmann <thomas@glanzmann.de >
Cc: Charalampos Pournaris <charpour@gmail.com >
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2014-06-30 20:09:45 -07:00
..
2014-06-30 20:09:44 -07:00
2014-06-16 13:42:54 -07:00
2013-12-08 07:29:25 -08:00
2014-06-07 13:25:31 -07:00
2013-05-17 14:31:05 -04:00
2014-06-07 13:25:37 -07:00
2014-06-30 20:09:44 -07:00
2014-06-07 13:25:37 -07:00
2013-07-13 11:42:26 -07:00
2014-06-30 20:09:41 -07:00
2014-06-07 13:25:35 -07:00
2014-06-07 13:25:29 -07:00
2014-06-26 15:12:37 -04:00
2014-04-14 06:42:19 -07:00
2014-04-14 06:42:15 -07:00
2014-06-07 13:25:39 -07:00
2014-03-06 21:30:14 -08:00
2014-03-06 21:30:13 -08:00
2014-02-13 13:47:59 -08:00
2014-06-30 20:09:41 -07:00
2014-05-30 21:52:11 -07:00
2013-11-29 11:11:53 -08:00
2014-05-13 13:59:45 +02:00
2014-06-11 12:03:24 -07:00
2014-06-30 20:09:42 -07:00
2014-06-26 15:12:40 -04:00
2014-06-11 12:03:22 -07:00
2013-05-07 14:01:27 -07:00
2014-06-07 13:25:39 -07:00
2013-05-07 02:16:21 -04:00
2014-01-09 12:24:21 -08:00
2014-06-26 15:12:41 -04:00
2014-06-30 20:09:44 -07:00
2014-06-07 13:25:36 -07:00
2014-06-07 13:25:40 -07:00
2014-06-07 13:25:28 -07:00
2014-04-14 06:42:18 -07:00
2014-06-07 13:25:34 -07:00
2013-05-08 10:49:18 +09:30
2013-08-11 18:35:20 -07:00
2014-06-11 12:03:24 -07:00
2014-06-30 20:09:44 -07:00
2013-05-18 11:55:52 +02:00
2013-05-07 02:16:21 -04:00
2013-05-08 10:13:35 -07:00
2014-05-06 07:55:28 -07:00
2014-06-16 13:42:54 -07:00
2014-02-13 13:48:00 -08:00
2014-05-13 13:59:45 +02:00
2014-06-30 20:09:41 -07:00
2013-05-21 10:48:41 +02:00
2013-11-13 12:05:35 +09:00
2013-05-04 14:47:26 -04:00
2014-02-22 12:41:27 -08:00
2013-08-11 18:35:21 -07:00
2014-02-06 11:08:15 -08:00
2014-06-07 13:25:38 -07:00
2013-07-21 18:21:25 -07:00
2014-02-20 11:06:11 -08:00
2014-02-06 11:08:16 -08:00
2014-03-23 21:38:22 -07:00
2014-02-22 12:41:29 -08:00
2013-05-01 17:51:54 -07:00
2013-05-25 21:24:15 -07:00
2013-05-18 11:55:58 +02:00
2014-03-23 21:38:09 -07:00
2014-03-31 09:58:13 -07:00
2013-05-07 14:04:56 -07:00
2013-04-12 10:26:24 +02:00
2013-05-07 14:02:00 -07:00
2014-06-26 15:12:37 -04:00
2014-05-13 13:59:42 +02:00
2013-03-31 19:29:12 -04:00
2014-06-26 15:12:37 -04:00
2014-03-23 21:38:16 -07:00
2013-05-09 10:15:46 -07:00
2013-03-25 10:39:40 -07:00
2014-06-30 20:09:41 -07:00
2014-06-30 20:09:45 -07:00
2013-05-18 11:57:30 +02:00
2014-06-07 13:25:30 -07:00
2013-11-13 12:05:33 +09:00
2014-06-30 20:09:44 -07:00
2013-04-29 18:28:43 -07:00
2014-04-03 12:01:05 -07:00
2014-04-14 06:42:18 -07:00
2014-06-30 20:09:42 -07:00
2014-05-13 13:59:41 +02:00
2014-02-22 12:41:28 -08:00
2014-05-06 07:55:28 -07:00
2013-12-20 07:45:11 -08:00
2013-12-11 22:36:27 -08:00
2013-05-01 17:29:18 -04:00
2013-05-04 12:31:18 -07:00
2013-05-04 12:31:18 -07:00