DragonFly commits List (threaded) for 2013-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: kernel - Fix rare race in namecache
commit 8214af3d1fa31993e6cd9ea091716b93f78dc50a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Mon Feb 18 09:50:22 2013 -0800
kernel - Fix rare race in namecache
* Fix a rare race in _cache_cleanneg() where the ncp being cleaned up is
resolved during the moment between where _cache_cleanneg() accesses it
prior to locking and removing it.
* _cache_cleanneg() needed to re-check that the ncp was still on the
negative cache list.
Reported-by: marino
Summary of changes:
sys/kern/vfs_cache.c | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8214af3d1fa31993e6cd9ea091716b93f78dc50a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]