Rafael J. Wysocki
3df663a147
ACPI: EC: Reference count query handlers under lock
...
There is a race condition in acpi_ec_get_query_handler()
theoretically allowing query handlers to go away before refernce
counting them.
In order to avoid it, call kref_get() on query handlers under
ec->mutex.
Also simplify the code a bit while at it.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2019-12-27 11:04:21 +01:00
..
2019-10-28 22:12:46 +01:00
2019-11-25 19:40:40 -08:00
2019-11-21 18:14:35 +01:00
2019-06-19 17:09:55 +02:00
2019-11-19 09:52:12 -08:00
2019-11-12 10:05:57 +01:00
2019-10-25 11:43:08 +02:00
2019-08-28 11:29:31 +02:00
2019-05-30 11:26:37 -07:00
2018-10-16 10:03:00 +02:00
2019-06-23 09:23:33 +02:00
2019-09-13 15:12:38 +01:00
2019-06-19 17:09:55 +02:00
2019-10-28 22:12:46 +01:00
2019-06-19 17:09:55 +02:00
2019-06-05 17:37:17 +02:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:41 -07:00
2019-07-08 10:49:36 +02:00
2019-11-26 10:30:49 +01:00
2019-07-18 17:08:06 -07:00
2019-06-22 11:45:57 +02:00
2019-10-17 23:48:39 +02:00
2019-06-19 17:09:55 +02:00
2019-08-09 10:48:34 +02:00
2018-10-18 09:11:53 +02:00
2019-10-11 11:40:26 +02:00
2019-06-19 17:09:55 +02:00
2019-10-18 15:00:19 +02:00
2019-06-19 17:09:55 +02:00
2019-07-11 22:45:00 +02:00
2019-11-29 11:42:10 +01:00
2019-11-29 10:21:52 +01:00
2019-05-30 11:26:37 -07:00
2019-05-30 11:26:37 -07:00
2019-10-18 10:36:37 +02:00
2019-09-28 08:14:15 -07:00
2019-05-21 10:50:45 +02:00
2019-12-10 00:22:18 +01:00
2019-05-30 11:26:41 -07:00
2019-05-30 11:26:37 -07:00
2019-06-19 17:09:52 +02:00
2019-12-27 11:04:21 +01:00
2019-04-23 10:54:26 +02:00
2019-06-05 17:36:37 +02:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:16 +02:00
2019-05-30 11:26:41 -07:00
2019-10-28 16:00:09 +01:00
2019-06-19 17:09:55 +02:00
2019-07-08 11:01:13 -07:00
2019-11-29 10:33:03 +01:00
2019-11-26 10:31:02 +01:00
2019-06-05 17:37:16 +02:00
2019-11-13 11:12:08 +01:00
2019-11-29 10:31:12 +01:00
2019-09-03 09:41:25 +02:00
2019-08-21 00:05:20 +02:00
2019-06-19 17:09:09 +02:00
2019-08-28 08:28:39 -05:00
2019-06-19 17:09:52 +02:00
2019-06-27 12:31:57 +02:00
2019-08-12 12:59:15 +01:00
2017-11-02 11:10:55 +01:00
2019-05-21 10:50:45 +02:00
2019-10-21 02:05:21 +02:00
2019-10-25 10:33:20 +02:00
2017-11-02 11:10:55 +01:00
2019-10-25 11:33:48 +02:00
2019-10-25 11:33:48 +02:00
2019-05-30 11:26:37 -07:00
2019-10-11 11:26:55 +02:00
2018-12-20 10:19:49 +01:00
2019-10-18 15:00:19 +02:00
2019-05-30 11:26:37 -07:00
2019-06-05 17:37:10 +02:00
2019-08-23 12:55:09 +02:00
2019-10-17 23:48:39 +02:00
2019-12-02 09:23:23 +01:00
2017-11-02 11:10:55 +01:00
2019-06-19 17:09:55 +02:00
2019-11-19 09:40:16 +01:00
2019-09-28 08:14:15 -07:00
2019-09-02 22:52:50 +02:00
2019-10-15 12:06:23 +02:00
2019-05-06 10:50:08 +02:00
2017-11-02 11:10:55 +01:00