Nicholas Bellinger
dcd211997d
qla2xxx: Fix scsi_host leak on qlt_lport_register callback failure
...
This patch fixes a possible scsi_host reference leak in qlt_lport_register(),
when a non zero return from the passed (*callback) does not call drop the
local reference via scsi_host_put() before returning.
This currently does not effect existing tcm_qla2xxx code as the passed callback
will never fail, but fix this up regardless for future code.
Cc: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2013-12-19 14:50:17 -08:00
..
2013-11-29 08:48:39 +04:00
2013-09-10 14:48:16 -07:00
2013-05-28 12:02:12 +02:00
2013-06-04 11:15:59 -07:00
2013-11-29 08:48:39 +04:00
2013-04-09 14:13:27 -04:00
2013-10-25 09:58:11 +01:00
2013-12-03 06:56:49 -08:00
2013-11-10 12:19:15 +08:00
2013-11-15 16:47:22 -08:00
2013-11-15 16:47:22 -08:00
2013-08-20 13:06:40 +02:00
2013-10-25 11:19:33 +01:00
2011-07-26 16:49:47 -07:00
2013-10-25 09:58:59 +01:00
2013-11-14 12:25:38 +09:00
2013-11-15 16:47:22 -08:00
2013-09-06 11:41:34 -07:00
2013-08-26 12:51:30 +04:00
2013-09-04 13:52:35 -07:00
2013-11-27 11:01:07 +04:00
2013-11-15 16:47:22 -08:00
2013-11-29 08:48:39 +04:00
2013-09-03 07:27:58 -07:00
2013-09-06 11:42:53 -07:00
2013-10-14 15:26:04 +02:00
2013-07-25 16:34:39 -07:00
2013-04-09 14:13:21 -04:00
2013-12-02 10:47:38 -08:00
2013-12-19 14:50:17 -08:00
2013-11-15 16:47:22 -08:00
2013-10-14 15:31:06 +02:00
2013-11-15 16:47:22 -08:00
2013-11-29 08:48:39 +04:00
2011-03-31 11:26:23 -03:00
2013-11-29 08:48:39 +04:00
2013-11-29 08:48:39 +04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2013-01-03 15:57:01 -08:00
2013-04-09 14:13:15 -04:00
2013-06-24 19:44:18 +02:00
2013-06-24 19:44:18 +02:00
2013-10-25 11:44:54 +01:00
2013-04-09 14:13:22 -04:00
2012-06-28 11:44:36 +02:00
2010-11-16 13:33:23 -08:00
2013-04-09 14:13:23 -04:00
2013-04-09 14:13:28 -04:00
2013-04-09 14:13:29 -04:00
2013-04-09 14:13:29 -04:00
2013-04-09 14:13:29 -04:00
2013-10-14 15:26:04 +02:00
2013-10-25 09:57:57 +01:00
2013-06-26 18:32:47 -07:00
2013-01-03 15:57:01 -08:00
2013-02-27 19:10:18 -08:00
2013-07-09 22:52:29 +01:00
2013-11-15 16:47:22 -08:00
2011-03-31 11:26:23 -03:00
2013-01-03 15:57:01 -08:00
2013-10-25 11:40:42 +01:00
2013-10-25 11:36:26 +01:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:17 -04:00
2013-09-03 07:27:58 -07:00
2011-05-01 10:22:40 -05:00
2013-08-01 18:08:34 -07:00
2013-08-01 18:08:34 -07:00
2013-01-03 15:57:01 -08:00
2013-06-26 18:32:47 -07:00
2013-04-09 14:13:17 -04:00
2010-11-16 13:33:23 -08:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:16 -04:00
2013-11-29 08:48:39 +04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:15 -04:00
2013-11-29 08:48:39 +04:00
2012-05-10 09:19:39 +01:00
2013-11-30 19:28:00 -05:00
2013-08-26 12:51:31 +04:00
2013-01-03 15:57:01 -08:00
2012-11-27 08:59:43 +04:00
2013-04-09 14:13:16 -04:00
2013-04-09 14:13:25 -04:00
2010-11-16 13:33:23 -08:00
2013-01-03 15:57:01 -08:00
2011-03-31 11:26:23 -03:00
2013-11-29 08:48:39 +04:00
2013-08-26 12:51:32 +04:00
2013-11-29 08:48:39 +04:00
2013-04-09 14:13:27 -04:00
2012-01-03 22:54:55 -05:00
2013-10-25 09:58:13 +01:00
2011-02-24 12:41:10 -05:00
2013-01-03 15:57:01 -08:00
2013-09-03 15:48:06 -07:00
2013-01-03 15:57:01 -08:00
2013-07-09 18:24:39 -07:00
2013-08-26 18:53:49 +04:00
2011-10-31 19:31:24 -04:00
2012-03-28 18:30:03 +01:00
2013-01-03 15:57:01 -08:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:17 -04:00
2013-09-03 07:27:58 -07:00
2013-11-29 08:48:39 +04:00
2013-04-29 15:41:57 -04:00
2012-03-28 18:30:03 +01:00
2013-01-03 15:57:01 -08:00
2013-04-09 14:13:15 -04:00
2013-10-14 15:26:04 +02:00
2013-04-15 14:30:44 -06:00
2013-10-14 15:31:06 +02:00
2010-11-16 13:33:23 -08:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:17 -04:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2011-05-10 10:16:21 +02:00
2013-06-19 17:53:35 +02:00
2011-03-31 11:26:23 -03:00
2012-03-28 18:30:03 +01:00
2011-03-31 11:26:23 -03:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:17 -04:00
2013-12-06 08:30:18 -08:00
2012-02-21 11:40:37 +01:00
2013-04-09 14:13:17 -04:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2010-11-16 13:33:23 -08:00
2010-11-16 13:33:23 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-10-25 09:58:12 +01:00
2013-06-24 13:00:10 -07:00
2013-10-25 12:18:30 +01:00
2011-10-31 19:31:23 -04:00
2013-10-31 14:49:26 +00:00
2013-03-28 14:27:24 -04:00
2013-10-25 09:58:13 +01:00
2012-07-20 09:05:54 +01:00
2013-05-31 15:16:51 -04:00
2013-06-24 13:00:10 -07:00
2013-10-25 12:17:59 +01:00
2011-10-31 19:31:23 -04:00
2011-05-01 10:20:10 -05:00
2011-05-24 12:38:36 -04:00
2013-07-03 16:07:41 -07:00
2013-10-25 09:58:01 +01:00
2012-12-01 10:08:41 +00:00
2012-05-10 09:06:12 +01:00
2013-11-08 14:43:16 -08:00
2013-10-25 12:00:23 +01:00
2012-01-03 22:54:07 -05:00
2013-05-02 15:37:03 -07:00
2013-11-29 08:48:39 +04:00
2013-10-25 09:58:16 +01:00
2011-06-29 12:14:25 -05:00
2013-10-25 10:59:54 +01:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2011-10-31 19:31:24 -04:00
2013-05-07 02:16:21 -04:00
2011-07-21 14:15:58 -07:00
2013-08-21 10:10:50 -07:00
2012-09-14 17:59:29 +01:00
2013-10-14 15:26:04 +02:00
2013-11-29 08:48:39 +04:00
2013-05-04 14:50:16 -04:00
2012-03-28 18:30:03 +01:00
2013-05-04 14:50:16 -04:00
2013-05-04 14:50:16 -04:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00
2010-11-16 13:33:23 -08:00
2013-04-09 14:13:17 -04:00
2013-04-09 14:13:17 -04:00
2013-11-15 16:47:22 -08:00
2013-10-25 11:51:37 +01:00
2012-03-28 18:30:03 +01:00
2012-03-28 18:30:03 +01:00
2010-11-16 13:33:23 -08:00
2013-11-11 11:53:26 +10:30
2013-10-14 15:26:04 +02:00
2012-03-27 08:26:36 +01:00
2013-04-09 14:13:15 -04:00
2013-04-09 14:13:15 -04:00
2013-04-09 14:13:15 -04:00
2013-01-03 15:57:01 -08:00
2013-01-03 15:57:01 -08:00