Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 2015 01:40:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 201912] panic in smbfs during mount
Message-ID:  <bug-201912-3630-0I46cqXdrG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-201912-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-201912-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201912

--- Comment #6 from Rick Macklem <rmacklem@FreeBSD.org> ---
Created attachment 162138
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=162138&action=edit
fixes smbfs so that it doesn't do a disconnect when vc_iod == NULL

This patch (which includes the 162117 one) adds a check for
vc_iod != NULL to the code in smb_vc_disconnect(), since this
function is called when smb_vc_create() fails and vc_iod == NULL
for that case. It also fixes smb_iod_create() so it returns with
vc_iod == NULL when it fails, since it has free'd the iod and it
also adds code to destroy the mutexes for this case.

I believe this patch will fix the crash reported here.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201912-3630-0I46cqXdrG>