cvs commit: src/sys/kern vfs_init.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Mar 14 22:10:59 PST 2004
dillon 2004/03/14 22:10:51 PST
DragonFly src repository
Modified files:
sys/kern vfs_init.c
Log:
Do not free the old VFS vector when recomputing the vectors. If a module
is loaded which causes the vectors to recompute, the v_op on existing
vnodes can wind up pointing to freed memory. This fix does cause a memory
leak, and is a hack, but it's better then crashing.
Taken-from: FreeBSD-5
Revision Changes Path
1.3 +5 -1 src/sys/kern/vfs_init.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/vfs_init.c.diff?r1=1.2&r2=1.3&f=h
More information about the Commits
mailing list