Konstantin Belousov
833429229a
In devfs_lookupx() dotdot lookup case, avoid dereferencing
...
dvp->v_mount after dvp is unlocked.
The vnode might be reclaimed after unlock, so v_mount becomes NULL.
Cache the struct mount pointer before the unlock, the struct is
type-stable.
Note that devfs_allocv() reads mp->mnt_data but does not operate on it
further when dirent is doomed. The unmount cannot proceed until all
dirents are reclaimed.
Reported and tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2017-12-14 13:41:11 +00:00
..
2017-12-11 19:21:39 +00:00
2017-12-14 13:19:43 +00:00
2017-12-07 07:55:38 +00:00
2017-11-20 19:43:44 +00:00
2017-12-13 21:17:00 +00:00
2017-12-12 22:08:34 +00:00
2017-11-28 18:23:17 +00:00
2017-12-11 18:04:04 +00:00
2017-12-06 09:53:10 +00:00
2017-11-20 19:43:44 +00:00
2017-12-05 14:22:08 +00:00
2017-12-14 06:45:04 +00:00
2017-12-04 13:28:56 +00:00
2017-12-14 13:41:11 +00:00
2017-11-27 15:16:59 +00:00
2017-12-12 17:29:34 +00:00
2017-12-02 02:21:27 +00:00
2017-12-11 19:21:39 +00:00
2017-11-27 15:23:17 +00:00
2017-12-13 16:30:39 +00:00
2017-11-27 15:49:00 +00:00
2017-11-27 15:20:12 +00:00
2017-12-14 01:58:05 +00:00
2017-12-05 22:05:10 +00:00
2017-12-11 20:01:28 +00:00
2017-12-09 23:16:02 +00:00
2017-11-27 15:23:17 +00:00
2017-12-14 12:54:20 +00:00
2017-12-07 22:19:08 +00:00
2017-12-01 09:59:42 +00:00
2017-12-08 15:57:29 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-12-02 00:07:09 +00:00
2017-12-12 03:16:10 +00:00
2017-12-07 07:55:38 +00:00
2017-11-27 15:23:17 +00:00
2017-11-20 19:43:44 +00:00
2017-12-07 07:55:38 +00:00
2017-12-13 16:30:39 +00:00
2017-11-27 15:23:17 +00:00
2017-05-09 05:08:47 +00:00
2017-11-27 15:23:17 +00:00
2017-12-09 15:44:30 +00:00
2017-12-11 15:33:24 +00:00
2017-11-30 20:33:45 +00:00
2017-11-27 15:23:17 +00:00
2017-11-27 15:23:17 +00:00
2017-11-14 23:02:19 +00:00