[Bug 201912] panic in smbfs during mount
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 17 01:40:37 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201912
--- Comment #6 from Rick Macklem <rmacklem at 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.
More information about the freebsd-fs
mailing list