Date: Sun, 2 Nov 2008 20:22:24 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/netsmb smb_conn.c Message-ID: <200811022022.mA2KMfH7022538@repoman.freebsd.org>
index | next in thread | raw e-mail
rwatson 2008-11-02 20:22:24 UTC
FreeBSD src repository
Modified files:
sys/netsmb smb_conn.c
Log:
SVN rev 184568 on 2008-11-02 20:22:24Z by rwatson
smb_vc_put() requires that the passed vcp be locked, so lock it before
dropping the connection when the requested service isn't available, or
we may try to release a lock that isn't locked.
This prevents an assertion failure when trying to mount a non-present
share using smbfs with INVARIANTS; a lock order reversal warning that
immediately follows is not yet fixed.
Reported by: attilio
MFC after: 3 days
Revision Changes Path
1.22 +3 -1 src/sys/netsmb/smb_conn.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811022022.mA2KMfH7022538>
