Takashi Iwai
a0830dbd4e
ALSA: Add a reference counter to card instance
...
For more strict protection for wild disconnections, a refcount is
introduced to the card instance, and let it up/down when an object is
referred via snd_lookup_*() in the open ops.
The free-after-last-close check is also changed to check this refcount
instead of the empty list, too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-10-30 11:07:10 +01:00
..
2012-10-09 07:07:14 +09:00
2009-11-23 09:41:55 +01:00
2012-10-09 07:07:14 +09:00
2008-07-14 09:01:02 +02:00
2011-08-17 00:53:54 +09:00
2009-09-21 15:44:51 +02:00
2010-04-04 12:21:39 +02:00
2009-09-21 15:44:39 +02:00
2007-10-16 16:51:18 +02:00
2012-10-02 18:01:25 +01:00
2011-05-19 14:10:45 -07:00
2010-10-21 13:51:13 -07:00
2008-01-31 17:29:13 +01:00
2008-01-31 17:29:13 +01:00
2012-09-12 18:13:03 +02:00
2012-04-18 08:00:36 +02:00
2009-02-05 15:08:48 +01:00
2009-02-05 15:08:51 +01:00
2012-08-20 20:50:37 +01:00
2011-12-23 10:08:11 +01:00
2012-09-17 09:54:50 +02:00
2012-03-18 18:22:37 +01:00
2012-10-30 11:07:10 +01:00
2012-04-30 23:36:20 +01:00
2009-11-18 07:23:16 +01:00
2011-02-08 11:26:14 +00:00
2007-10-16 16:51:18 +02:00
2007-10-16 16:51:18 +02:00
2012-09-28 14:21:54 +01:00
2012-06-22 10:25:45 +01:00
2012-06-20 15:39:05 +01:00
2012-10-02 18:01:25 +01:00
2012-08-14 18:12:04 +02:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2007-10-16 15:58:10 +02:00
2010-12-01 12:14:47 +01:00
2011-03-31 11:26:23 -03:00
2009-02-05 09:17:50 +01:00
2012-01-03 22:54:56 -05:00
2012-08-03 12:57:44 +02:00
2012-02-27 17:34:44 +01:00
2011-12-31 17:53:52 +01:00
2008-11-17 11:45:39 +00:00
2012-01-30 21:50:55 +00:00
2010-10-18 16:46:27 -07:00
2012-05-13 23:33:53 +01:00
2012-09-23 11:24:42 +02:00
2011-12-23 10:07:46 +01:00
2011-02-14 17:10:11 +01:00
2012-10-02 18:01:25 +01:00
2008-02-22 14:20:08 -08:00
2010-01-07 15:47:38 +01:00
2012-06-20 12:00:59 +02:00
2007-10-16 16:51:18 +02:00
2012-10-09 07:07:14 +09:00
2009-04-15 10:54:06 +08:00
2012-10-02 18:01:25 +01:00
2008-11-17 11:45:53 +00:00
2011-12-02 13:56:42 +08:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2012-10-02 18:01:25 +01:00
2009-03-11 09:55:03 +01:00
2009-11-04 09:17:40 +01:00
2012-05-19 19:41:45 +01:00
2012-04-13 11:29:25 +01:00
2012-10-02 18:01:25 +01:00
2012-08-20 20:50:37 +01:00
2012-09-26 12:29:59 +01:00
2012-04-26 17:48:42 +01:00
2012-09-18 22:51:23 -04:00
2012-10-02 18:01:25 +01:00
2012-06-22 10:27:29 +01:00
2012-06-23 11:58:10 +01:00
2011-11-14 21:36:43 +00:00
2012-09-13 17:42:12 -03:00
2012-10-02 18:01:25 +01:00
2012-09-06 06:29:33 +08:00
2007-10-16 16:51:18 +02:00
2011-08-12 11:45:10 +09:00
2011-03-04 18:21:08 +00:00
2011-05-11 16:12:35 +01:00
2012-09-06 18:01:16 +02:00
2011-09-21 16:07:45 +01:00
2010-06-25 12:29:01 +01:00
2009-06-15 21:54:48 +01:00
2012-07-03 08:23:03 +02:00
2012-08-23 16:12:12 +01:00
2011-09-23 17:05:38 +01:00
2010-02-12 10:31:06 +00:00
2012-01-26 16:07:55 +00:00
2011-09-20 16:02:16 +01:00
2011-12-06 10:29:22 +00:00
2010-03-16 16:03:30 +00:00
2009-12-18 13:06:47 +00:00
2012-09-21 08:35:06 -04:00
2012-01-24 21:19:45 +00:00
2012-08-22 19:00:37 +01:00
2011-08-08 14:30:37 +09:00
2011-03-01 23:30:53 +00:00
2010-04-30 16:12:44 +01:00
2012-10-02 18:01:25 +01:00