Konstantin Belousov
22e62e7e6e
In both if_tun and if_tap:
...
Do not do additional dev_ref() on the newly created interface in the
if_clone create method [1]. This reference is not needed and never
removed, causing struct cdevpriv leakage. Remove the setting of
SI_CHEAPCLONE flag as well, since it is unused.
For dev_clone handlers, create cdevs with the call make_dev_credf(MAKEDEV_REF)
instead of calling make_dev() and then dev_ref(), to avoid a race.
Call drain_dev_clone_events() at the module unload time after dev_clone
handler is deinstalled.
Submitted by: Mikolaj Golub <to.my.trociny gmail com> [1]
MFC after: 1 week
2010-02-28 16:25:49 +00:00
..
2009-08-12 17:28:53 +00:00
2009-11-20 21:12:40 +00:00
2009-11-20 18:49:20 +00:00
2009-08-12 17:28:53 +00:00
2010-02-20 00:19:21 +00:00
2009-04-02 13:02:12 +00:00
2009-08-12 17:28:53 +00:00
2009-08-23 20:40:19 +00:00
2009-04-16 20:30:28 +00:00
2009-06-21 10:29:31 +00:00
2009-06-21 10:29:31 +00:00
2010-01-07 21:01:37 +00:00
2009-10-01 20:32:29 +00:00
2009-04-30 14:25:44 +00:00
2009-06-21 10:29:31 +00:00
2009-06-21 10:29:31 +00:00
2009-09-03 21:10:57 +00:00
2009-04-16 20:30:28 +00:00
2009-06-05 14:55:22 +00:00
2010-01-31 08:16:37 +00:00
2009-08-01 19:26:27 +00:00
2009-07-23 20:46:49 +00:00
2009-11-30 21:25:57 +00:00
2009-04-16 20:30:28 +00:00
2009-11-06 14:55:01 +00:00
2009-10-14 11:55:55 +00:00
2010-01-10 12:03:53 +00:00
2010-01-07 10:27:52 +00:00
2009-08-01 19:26:27 +00:00
2009-06-24 10:32:44 +00:00
2009-06-21 10:29:31 +00:00
2009-10-22 06:17:04 +00:00
2009-07-16 21:13:04 +00:00
2009-08-01 19:26:27 +00:00
2009-06-21 10:29:31 +00:00
2010-02-06 13:49:35 +00:00
2010-02-06 13:49:35 +00:00
2009-12-30 21:35:34 +00:00
2009-12-30 21:35:34 +00:00
2010-02-21 15:25:47 +00:00
2009-07-11 15:02:45 +00:00
2009-08-01 19:26:27 +00:00
2009-08-01 19:26:27 +00:00
2009-08-01 19:26:27 +00:00
2010-02-28 16:25:49 +00:00
2010-02-28 16:25:49 +00:00
2010-02-13 16:04:58 +00:00
2010-02-21 00:07:45 +00:00
2010-02-24 15:54:24 +00:00
2010-02-20 22:47:20 +00:00
2009-06-21 10:29:31 +00:00
2010-02-25 09:51:14 +00:00
2010-02-22 16:16:16 +00:00
2009-10-19 15:19:14 +00:00
2009-10-18 22:54:09 +00:00
2009-06-12 15:44:35 +00:00
2009-04-14 23:05:36 +00:00
2009-12-14 20:12:51 +00:00
2009-12-14 20:12:51 +00:00
2009-08-01 19:26:27 +00:00
2009-07-16 21:13:04 +00:00
2009-08-01 19:26:27 +00:00
2009-12-30 21:35:34 +00:00
2009-12-30 21:35:34 +00:00
2009-12-30 21:35:34 +00:00
2010-02-09 22:39:34 +00:00
2010-02-04 07:55:42 +00:00