Subject: Re: kern/35728: repeated kernel panics: free: duplicated free (NFS-related)
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@zoulas.com>
List: netbsd-bugs
Date: 02/20/2007 15:20:05
The following reply was made to PR kern/35728; it has been noted by GNATS.
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, kern-bug-people@netbsd.org,
gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc:
Subject: Re: kern/35728: repeated kernel panics: free: duplicated free (NFS-related)
Date: Tue, 20 Feb 2007 10:19:05 -0500
On Feb 20, 7:30am, arto@selonen.org (arto@selonen.org) wrote:
-- Subject: kern/35728: repeated kernel panics: free: duplicated free (NFS-re
Try this:
Index: nfs_serv.c
===================================================================
RCS file: /cvsroot/src/sys/nfs/nfs_serv.c,v
retrieving revision 1.123
diff -u -u -r1.123 nfs_serv.c
--- nfs_serv.c 4 Feb 2007 14:48:51 -0000 1.123
+++ nfs_serv.c 20 Feb 2007 15:18:32 -0000
@@ -2706,6 +2706,7 @@
toff = off;
siz = fullsiz;
free(cookies, M_TEMP);
+ cookies = NULL;
goto again;
}
christos