From owner-cvs-all Wed Jan 26 12:51:35 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 704761502A; Wed, 26 Jan 2000 12:51:31 -0800 (PST) (envelope-from dillon@FreeBSD.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA47792; Wed, 26 Jan 2000 12:51:31 -0800 (PST) (envelope-from dillon@FreeBSD.org) Message-Id: <200001262051.MAA47792@freefall.freebsd.org> From: Matt Dillon Date: Wed, 26 Jan 2000 12:51:31 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_nqlease.c nqnfs.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk dillon 2000/01/26 12:51:30 PST Modified files: sys/nfs nfs_nqlease.c nqnfs.h Log: Fix catastrophic bug in NQNFS related to UDP mounts. The 'nqhost' struct contains a major union for which lph_slp was being initialized only for TCP connections, but accessed for all types of connections leading to a crash. Also, a conditional controlling an nfs_slplock() call contained an improper paren grouping, causing a second crash in the UDP case. The nqhost structure has been reorganized and lph_slp has been made a normal structural field rather then a union field, and properly initialized for all connection types. Approved by: jkh Revision Changes Path 1.49 +15 -16 src/sys/nfs/nfs_nqlease.c 1.21 +7 -12 src/sys/nfs/nqnfs.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message