From owner-freebsd-bugs Thu Apr 17 12:10:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA28140 for bugs-outgoing; Thu, 17 Apr 1997 12:10:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id MAA28129; Thu, 17 Apr 1997 12:10:02 -0700 (PDT) Date: Thu, 17 Apr 1997 12:10:02 -0700 (PDT) Message-Id: <199704171910.MAA28129@freefall.freebsd.org> To: freebsd-bugs Cc: From: Garrett Wollman Subject: Re: kern/3304: NFS V2 readdir hangs Reply-To: Garrett Wollman Sender: owner-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/3304; it has been noted by GNATS. From: Garrett Wollman To: Thomas David Rivers Cc: freebsd-gnats-submit@freefall.freebsd.org Subject: Re: kern/3304: NFS V2 readdir hangs Date: Thu, 17 Apr 1997 15:04:57 -0400 (EDT) < said: > It appears that nfs_receive() calls soreceive() which calls sbwait() > waiting on a UDP packet to be received.. That's fine. > Then, another nfs_request() is issued; calling nfs_receive() which > winds down to sbwait() as well. > Then, the udp packet from the first call is received; we wake up the > *second* caller and get everything out-of-sync. This is perfectly reasonable behavior for soreceive(). NFS is clearly broken here. NFS needs its own response-demultiplexing layer, it seems. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick