NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50664: "cd .." over NFS/ZFS can panic kernel



The following reply was made to PR kern/50664; it has been noted by GNATS.

From: "J. Hannken-Illjes" <hannken%eis.cs.tu-bs.de@localhost>
To: Brian Marcotte <marcotte%panix.com@localhost>
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/50664: "cd .." over NFS/ZFS can panic kernel
Date: Sun, 17 Jan 2016 14:11:11 +0100

 Good, all directories have different file handles.
 
 Could you add a printf to nfs_cache_enter() to print all nfs nodes
 entered into the name cache (not even compile tested here):
 
 --- nfs_vnops.c	12 Aug 2012 12:59:48 -0000	1.293.4.1
 +++ nfs_vnops.c	17 Jan 2016 13:06:39 -0000
 @@ -280,4 +280,5 @@ nfs_cache_enter(struct vnode *dvp, struc
  		dnp->n_nctime = dnp->n_vattr->va_mtime;
  
 +printf("enter %p %p \"%.*s\"\n", dvp, vp, cnp->cn_namelen, cnp->cn_nameptr);
  	cache_enter(dvp, vp, cnp);
  }
 
 
 --
 J. Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig (Germany)
 


Home | Main Index | Thread Index | Old Index