Displaying 1 result from an estimated 1 matches for "nfs_serv".
Did you mean:
nfs_server
2006 Oct 20
1
[patch] Memory leak from namei_zone in an error path in nfsrv_rename
...owing cmds against 5.3 or 6.1 FreeBSD NFS server
will cause the leak:
$ mkdir -p a/b
$ cd a
$ whie (true) do
> mv . ../a/b/
> done
There are many other ways to reproduce it, but these are trivial test
cases I could come up with.
Patch to fix the problem :
________________________
--- nfs_serv.c 2005-11-25 06:32:38.000000000 -0800
+++ /tmp/nfs_serv.c 2006-09-22 14:41:39.000000000 -0700
@@ -2514,26 +2514,26 @@
/*
* The VOP_RENAME function releases all vnode references &
* locks prior to returning so we need to clear the pointers...