From owner-cvs-all Sun Dec 30 22:56:45 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A5E7637B41F; Sun, 30 Dec 2001 22:56:31 -0800 (PST) Received: (from iedowse@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fBV6uVT21497; Sun, 30 Dec 2001 22:56:31 -0800 (PST) (envelope-from iedowse) Message-Id: <200112310656.fBV6uVT21497@freefall.freebsd.org> From: Ian Dowse Date: Sun, 30 Dec 2001 22:56:31 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_common.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG iedowse 2001/12/30 22:56:31 PST Modified files: sys/nfs nfs_common.c Log: When the old nfsm_adv() macro was moved to nfsm_adv_xx(), a '>=' must have been inadvertently changed to '>'. This broke nfsm_adv() in the case where the advancement count is equal to the amount of data remaining in the current mbuf. Instead of moving the current position N bytes forward, nfs_adv() could end up moving it back to N bytes from the start of the mbuf data. This should fix the client-side readdirplus problems that have been reported since September. Revision Changes Path 1.110 +1 -1 src/sys/nfs/nfs_common.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message