freebsd-skq/sys/netsmb
rmacklem 68e44b1d70 MFC: r291035
The problem report was for a crash that happened when smbfs was
trying to do a mount. Given the backtrace,
it appears that the crash occurred when smb_vc_create() failed and then
called smb_vc_put() with vcp->vc_iod == NULL. smb_vc_put() subsequently
called smb_vc_disconnect() with vcp->vc_iod == NULL, causing the crash.
This patch adds a check for vcp->vc_iod != NULL in smb_vc_disconnect() to
avoid the crash. It also fixes the case in smb_vc_create() where
kproc_create() fails so that it destroys the mutexes and sets
vcp->vc_iod == NULL before free()'ing the iod structure.
2015-12-02 21:48:34 +00:00
..
netbios.h
smb_conn.c MFC: r291035 2015-12-02 21:48:34 +00:00
smb_conn.h Overhaul locking in netsmb, getting rid of the obsolete lockmgr() primitive. 2013-05-04 14:18:10 +00:00
smb_crypt.c
smb_dev.c Merge r263233 from HEAD to stable/10: 2015-03-19 13:37:36 +00:00
smb_dev.h Completely rewrite the interface to smbdev switching from dev_clone 2013-05-04 14:03:18 +00:00
smb_iod.c MFC: r291035 2015-12-02 21:48:34 +00:00
smb_rq.c Mechanically substitute flags from historic mbuf allocator with 2012-12-05 08:04:20 +00:00
smb_rq.h
smb_smb.c
smb_subr.c
smb_subr.h
smb_tran.h
smb_trantcp.c Merge r257841 from head: 2013-11-14 09:19:50 +00:00
smb_trantcp.h
smb_usr.c Fix panic due to page faults while in kernel mode, under conditions of 2012-10-31 03:34:07 +00:00
smb.h