Date: Wed, 26 Jan 2000 12:51:31 -0800 (PST) From: Matt Dillon <dillon@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfs nfs_nqlease.c nqnfs.h Message-ID: <200001262051.MAA47792@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001262051.MAA47792>
