Peter Holm e84a11e7ff In tty_makedev() the following construction:
dev = make_dev_cred();
dev->si_drv1 = tp;

leaves a small window where the newly created device may be opened
and si_drv1 is NULL.

As this is a vary rare situation, using a lock to close the window
seems overkill. Instead just wait for the assignment of si_drv1.

Suggested by:	kib
MFC after:	1 week
2012-06-18 07:34:38 +00:00
..
2012-05-31 19:32:37 +00:00
2012-05-31 19:34:53 +00:00
2012-05-24 11:24:44 +00:00
2011-12-05 10:34:52 +00:00
2012-06-14 17:32:58 +00:00
2011-04-13 11:28:46 +00:00
2012-01-02 12:12:10 +00:00
2012-03-28 20:58:30 +00:00
2012-03-28 20:58:30 +00:00
2010-11-25 20:05:11 +00:00
2012-03-28 20:58:30 +00:00
2012-05-27 05:24:53 +00:00
2012-03-28 20:58:30 +00:00
2012-03-28 20:58:30 +00:00
2011-07-10 00:53:04 +00:00
2012-01-02 12:12:10 +00:00
2012-02-01 14:34:52 +00:00
2012-01-26 16:35:09 +00:00
2012-06-11 18:47:26 +00:00
2012-06-10 20:24:01 +00:00
2012-05-25 21:52:57 +00:00
2012-05-25 21:52:57 +00:00
2012-01-02 12:12:10 +00:00