Konstantin Belousov
15822fcdbe
Rev. 1.274 put the ttyrel() call before the destroy_dev() in the
...
ttyfree(), freeing the tty. Since destroy_dev() may call d_purge()
cdevsw method, that is the ttypurge() for the tty, the code ends up
accessing freed tty structure.
Put the ttyrel() after destroy_dev() in the ttyfree. To prevent the
panic the rev. 1.274 provided fix for, check the TS_GONE in sysctl
handler and refuse to provide information on such tty.
Reported, debugging help and tested by: pho
DIscussed with and reviewed by: jhb
MFC after: 1 week
2008-05-23 16:47:55 +00:00
..
2008-03-20 21:24:32 +00:00
2005-01-06 23:35:40 +00:00
2008-01-13 14:44:15 +00:00
2008-05-15 03:07:34 +00:00
2008-03-16 10:58:09 +00:00
2008-05-09 23:03:00 +00:00
2008-03-16 10:58:09 +00:00
2008-04-02 11:20:30 +00:00
2008-03-12 06:31:06 +00:00
2008-05-23 16:38:38 +00:00
2008-05-05 19:13:52 +00:00
2008-04-11 03:26:41 +00:00
2008-05-23 03:04:27 +00:00
2008-05-21 09:31:44 +00:00
2008-05-18 19:43:52 +00:00
2008-05-10 11:37:05 +00:00
2008-03-31 12:05:52 +00:00
2008-03-22 16:32:52 +00:00
2008-03-20 15:24:49 +00:00
2008-03-16 10:58:09 +00:00
2008-04-17 04:20:10 +00:00
2008-04-11 21:31:15 +00:00
2008-04-29 22:43:15 +00:00
2008-05-23 07:08:59 +00:00
2008-04-13 01:21:56 +00:00
2008-05-09 10:34:23 +00:00
2008-05-23 00:43:36 +00:00
2008-04-04 18:41:12 +00:00
2008-03-16 10:58:09 +00:00
2007-05-27 20:50:23 +00:00
2008-02-13 23:39:05 +00:00
2008-03-16 10:58:09 +00:00
2007-12-07 08:20:17 +00:00
2008-03-16 10:58:09 +00:00
2008-03-07 15:27:08 +00:00
2008-03-19 06:19:01 +00:00
2008-03-19 07:52:07 +00:00
2007-11-18 14:43:53 +00:00
2008-04-04 10:00:46 +00:00
2008-05-18 19:32:36 +00:00
2008-03-16 10:58:09 +00:00
2008-03-21 08:23:25 +00:00
2008-04-17 04:20:10 +00:00
2008-05-12 06:42:06 +00:00
2008-05-15 20:10:06 +00:00
2008-04-17 04:20:10 +00:00
2008-03-16 10:58:09 +00:00
2008-04-29 05:48:05 +00:00
2008-04-17 04:20:10 +00:00
2008-01-18 13:00:28 +00:00
2008-04-06 11:08:49 +00:00
2008-04-29 03:48:48 +00:00
2008-05-23 00:49:39 +00:00
2008-05-23 00:49:39 +00:00
2008-05-23 04:06:49 +00:00
2007-12-14 21:30:51 +00:00
2008-03-27 01:53:44 +00:00
2005-01-06 23:35:40 +00:00
2006-03-30 18:45:50 +00:00
2008-03-12 10:12:01 +00:00
2006-11-12 03:34:03 +00:00
2008-04-25 05:18:50 +00:00
2008-04-25 05:18:50 +00:00
2006-04-23 22:12:39 +00:00
2008-03-16 10:58:09 +00:00
2008-05-05 19:48:54 +00:00
2008-05-18 13:55:51 +00:00
2008-05-23 16:06:35 +00:00
2008-04-22 19:38:30 +00:00
2008-03-16 10:58:09 +00:00
2008-04-09 19:07:48 +00:00
2008-05-04 23:29:38 +00:00
2008-05-15 20:10:06 +00:00
2008-03-16 10:58:09 +00:00
2008-03-25 09:39:02 +00:00
2005-01-06 23:35:40 +00:00
2008-05-09 07:42:02 +00:00
2005-11-09 16:22:56 +00:00
2008-03-16 10:58:09 +00:00
2008-04-22 19:38:30 +00:00
2004-04-05 21:03:37 +00:00
2008-04-17 04:20:10 +00:00
2008-05-23 04:05:26 +00:00
2007-12-03 14:44:35 +00:00
2008-04-11 17:35:54 +00:00
2008-04-17 04:20:10 +00:00
2008-04-17 04:20:10 +00:00
2007-07-04 06:56:58 +00:00
2008-05-15 20:10:06 +00:00
2008-03-19 07:33:16 +00:00
2008-05-23 11:14:03 +00:00
2008-03-19 06:19:01 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-09 23:03:00 +00:00
2008-05-23 16:06:35 +00:00
2008-03-16 10:58:09 +00:00
2008-03-16 10:58:09 +00:00
2008-05-23 16:06:35 +00:00
2008-03-16 10:58:09 +00:00
2008-05-23 16:47:55 +00:00
2008-03-16 10:58:09 +00:00
2008-04-30 20:00:30 +00:00
2008-03-29 23:30:40 +00:00
2008-05-16 18:10:07 +00:00
2008-04-13 21:08:34 +00:00
2008-05-15 20:18:44 +00:00
2008-05-09 23:03:00 +00:00
2008-05-22 07:18:54 +00:00
2008-03-31 12:01:21 +00:00
2008-03-28 12:30:12 +00:00
2008-04-09 20:19:55 +00:00
2008-03-22 09:15:16 +00:00
2008-04-16 11:33:32 +00:00
2008-05-09 23:03:00 +00:00
2008-03-31 12:01:21 +00:00
2008-03-16 10:58:09 +00:00
2008-04-08 09:45:49 +00:00
2008-04-29 21:40:11 +00:00
2008-05-18 21:08:12 +00:00
2008-04-07 00:29:32 +00:00
2008-03-31 11:57:18 +00:00
2008-03-26 15:23:12 +00:00