Subject: CVS commit: src/sys/nfs
To: None <source-changes@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@netbsd.org>
List: source-changes
Date: 12/30/2005 10:35:44
Module Name: src
Committed By: jmmv
Date: Fri Dec 30 10:35:44 UTC 2005
Modified Files:
src/sys/nfs: nfs_socket.c
Log Message:
Avoid dereferencing the lwp parameter in nfs_receive, as it is always NULL.
Solves a crash when mounting NFS shares. (The proc parameter used before
the conversion to lwp's was NULL too, so the addition of 'l->l_proc' in the
code was extra.)
To generate a diff of this commit:
cvs rdiff -r1.119 -r1.120 src/sys/nfs/nfs_socket.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.