hselasky
881f337ccc
Add missing NULL check in physio().
...
When destroying a character device the si_devsw field is set to NULL
before all references are gone, to indicate the character device is
going away. This can cause a NULL-dereference fault inside physio().
The callers of physio() should own a thread reference on the cdev and
if si_devsw is seen as non-NULL, it is usable during the execution of
the function. Else an ENXIO error code is returned.
Reviewed by: kib
MFC after: 2 weeks
2015-10-29 13:53:37 +00:00
..
2015-10-28 18:53:18 +00:00
2015-08-14 22:57:13 +00:00
2015-06-10 10:48:12 +00:00
2015-06-24 15:52:26 +00:00
2015-10-14 18:27:35 +00:00
2015-06-10 10:48:12 +00:00
2015-08-28 20:06:58 +00:00
2015-10-22 21:30:39 +00:00
2015-07-20 09:37:42 +00:00
2015-05-21 16:43:26 +00:00
2015-05-22 17:05:21 +00:00
2015-06-26 04:14:05 +00:00
2015-09-07 20:05:56 +00:00
2015-09-23 12:45:08 +00:00
2015-10-06 18:07:00 +00:00
2015-10-08 11:07:09 +00:00
2015-10-22 09:33:34 +00:00
2015-07-21 14:39:34 +00:00
2015-07-19 08:52:35 +00:00
2015-07-31 10:21:58 +00:00
2015-05-22 11:09:41 +00:00
2015-09-15 23:06:56 +00:00
2015-08-02 00:03:08 +00:00
2015-07-19 22:24:33 +00:00
2015-05-09 20:08:36 +00:00
2015-06-30 17:00:45 +00:00
2015-10-10 09:21:55 +00:00
2015-08-02 00:03:08 +00:00
2015-07-12 18:38:17 +00:00
2015-07-11 15:21:37 +00:00
2015-10-29 13:53:37 +00:00
2015-10-06 18:07:00 +00:00
2015-08-20 22:44:26 +00:00
2015-07-16 14:30:11 +00:00
2015-09-28 12:14:16 +00:00
2015-04-29 10:23:02 +00:00
2015-07-16 14:30:11 +00:00
2015-09-15 22:16:21 +00:00
2015-08-02 00:03:08 +00:00
2015-08-04 12:33:51 +00:00
2015-10-01 10:52:26 +00:00
2015-09-28 12:14:16 +00:00
2015-08-02 00:03:08 +00:00
2015-05-29 13:24:17 +00:00
2015-06-10 10:48:12 +00:00
2015-10-22 23:03:06 +00:00
2015-09-25 13:03:57 +00:00
2015-07-20 10:20:04 +00:00
2015-10-20 20:29:21 +00:00
2015-09-28 12:14:16 +00:00
2015-08-04 06:01:13 +00:00
2015-08-30 18:02:57 +00:00
2015-09-20 01:27:59 +00:00
2015-09-20 01:27:59 +00:00
2015-10-27 22:59:24 +00:00
2015-10-22 21:28:20 +00:00
2015-05-24 14:44:06 +00:00
2015-08-03 20:43:36 +00:00
2015-08-26 16:36:41 +00:00
2015-06-16 20:19:00 +00:00
2015-09-04 00:14:20 +00:00
2015-06-30 17:00:45 +00:00
2015-10-20 03:25:17 +00:00
2015-07-11 16:22:48 +00:00
2015-08-21 15:57:57 +00:00
2015-09-21 15:02:59 +00:00
2015-06-09 21:39:38 +00:00
2015-10-02 09:23:14 +00:00
2015-07-21 22:56:46 +00:00
2015-10-22 09:33:34 +00:00
2015-05-26 01:40:33 +00:00
2015-07-13 22:52:11 +00:00
2015-05-21 15:16:18 +00:00
2015-06-10 10:48:12 +00:00
2015-05-22 17:05:21 +00:00
2015-07-24 15:13:21 +00:00
2015-08-11 08:43:50 +00:00
2015-07-09 09:22:21 +00:00
2015-07-29 17:18:27 +00:00
2015-07-18 09:02:50 +00:00
2015-10-20 20:38:20 +00:00
2015-10-22 21:30:39 +00:00
2015-07-11 15:22:11 +00:00
2015-07-11 15:22:11 +00:00
2015-04-29 10:23:02 +00:00
2015-04-29 10:23:02 +00:00
2015-10-10 09:29:47 +00:00
2015-06-10 10:48:12 +00:00
2015-07-06 18:53:56 +00:00
2015-07-21 09:57:13 +00:00
2015-05-22 17:05:21 +00:00
2015-08-08 15:50:46 +00:00
2015-10-14 00:35:37 +00:00
2015-07-23 23:18:03 +00:00
2015-08-01 07:21:14 +00:00
2015-06-10 10:48:12 +00:00
2015-07-27 13:17:57 +00:00
2015-07-27 13:17:57 +00:00
2015-09-07 20:02:56 +00:00
2015-06-16 13:09:18 +00:00
2015-10-25 18:48:09 +00:00
2015-10-14 02:10:07 +00:00
2015-09-28 12:14:16 +00:00
2015-07-23 19:13:41 +00:00
2015-10-01 16:34:53 +00:00
2015-06-16 13:09:18 +00:00
2015-09-06 05:50:51 +00:00
2015-09-15 23:06:56 +00:00
2015-09-28 12:14:16 +00:00
2015-08-24 13:18:13 +00:00
2015-10-17 08:51:10 +00:00
2015-09-26 22:26:55 +00:00
2015-10-03 22:27:14 +00:00
2015-10-08 09:54:33 +00:00
2015-09-15 20:22:30 +00:00