Date: Fri, 18 May 2007 19:34:55 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/nfsclient nfs_socket.c Message-ID: <200705181934.l4IJYtnR024873@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2007-05-18 19:34:55 UTC
FreeBSD src repository
Modified files:
sys/nfsclient nfs_socket.c
Log:
In nfs_down(), if rep can be NULL, which we test for, then we should
lock and unlock conditionally, not just set the flag on it conditionally.
In practice, this bug couldn't manifest, as in the current revision of
the code, no callers pass a NULL rep.
CID: 1416
Found with: Coverity Prevent(tm)
Revision Changes Path
1.153 +4 -3 src/sys/nfsclient/nfs_socket.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200705181934.l4IJYtnR024873>
