summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-11-02 20:22:24 +0000
committerrwatson <rwatson@FreeBSD.org>2008-11-02 20:22:24 +0000
commit8287eede8234a2d0bde06e0ca1635c406e0cd6a9 (patch)
tree2042fcdb1ae11e45db86a371fb69f95e1e5a17bd /lib/libfetch
parentb563afb1641962b2b7aed20467423c4338d37ff9 (diff)
downloadFreeBSD-src-8287eede8234a2d0bde06e0ca1635c406e0cd6a9.zip
FreeBSD-src-8287eede8234a2d0bde06e0ca1635c406e0cd6a9.tar.gz
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
Diffstat (limited to 'lib/libfetch')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud