freebsd-dev/sys
Rick Macklem 69527b11bb 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.
The person who reported the PR tested the patch, but was not able
to reproduce the crash with or without the patch.

PR:		201912
Reviewed by:	jhb
MFC after:	2 weeks
2015-11-18 23:04:01 +00:00
..
amd64 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
arm ARM: Fix dma_dcache_sync() for early allocated memory. 2015-11-18 16:07:01 +00:00
arm64 Fix typo in message from arm64 ITS workaround 2015-11-09 01:49:25 +00:00
boot Document loader(8) dumpdev option 2015-11-18 09:42:36 +00:00
bsm
cam Add NULL check to make Coverity happy. 2015-11-14 14:56:01 +00:00
cddl Switch zfs_panic_recover to panic for bad DVA 2015-11-06 20:45:19 +00:00
compat Add assert and note about the size of "unsigned long" inside the 2015-11-13 09:00:39 +00:00
conf uart(4) - make the 8250 uart baudrate tolerance build time tweakable. 2015-11-18 06:24:21 +00:00
contrib Fix slots DMA memory handling. It's similar to r290553. 2015-11-10 10:56:52 +00:00
crypto
ddb
dev if_ntb: Reuse receive buffers correctly 2015-11-18 22:20:49 +00:00
fs mnt_stat.f_iosize (which is used to set bo_bsize) must be set to 2015-11-17 01:44:26 +00:00
gdb
geom Fix early kernel dump via dumpdev env 2015-11-17 20:55:50 +00:00
gnu
i386 Export various helper variables describing the layout and size of 2015-11-12 22:00:59 +00:00
isa
kern Extend r270123 to run the brand info's header_supported() routine for 2015-11-18 17:03:22 +00:00
kgssapi
libkern libkern: ffs, fls: s/4/3/ the 3rd BSD clause 2015-10-22 21:04:47 +00:00
mips Add the QCA9533 base configuration file and an example configuration 2015-11-18 06:25:25 +00:00
modules Fix 'make depend' 2015-11-17 18:28:56 +00:00
net Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
net80211 net80211: add ieee80211_restart_all() call. 2015-10-27 20:40:57 +00:00
netgraph Move iflladdr_event eventhandler invocation to if_setlladdr. 2015-11-14 13:34:03 +00:00
netinet Revert r290403 2015-11-13 23:14:39 +00:00
netinet6 Bring back the ability of passing cached route via nd6_output_ifp(). 2015-11-15 16:02:22 +00:00
netipsec Implement the sadb_x_policy_priority field as it is done in Linux: 2015-11-17 14:39:33 +00:00
netnatm
netpfil Fix dynamic IPv6 rules showing junk for non-specified address masks. 2015-11-17 20:42:08 +00:00
netsmb The problem report was for a crash that happened when smbfs was 2015-11-18 23:04:01 +00:00
nfs
nfsclient
nfsserver
nlm
ofed Fix integer to pointer of different size conversion warnings when 2015-11-12 10:12:20 +00:00
opencrypto Use explicitly specified ivsize instead of blocksize when we mean IV size. 2015-11-16 07:10:42 +00:00
pc98
powerpc Physical addresses for e500mc/e5500 are 36-bits, e6500 is 40-bits. 2015-11-18 02:18:14 +00:00
rpc
security
sparc64 - Unbreak dumpsys(9) on sparc64 after r276772 2015-11-16 23:02:33 +00:00
sys Change the driver stats to what they really are: unsigned values. 2015-11-16 15:16:09 +00:00
teken
tests Style 9 changes. 2015-11-12 10:31:14 +00:00
tools
ufs Do not perform read-ahead for BA_CLRBUF request when we are low on 2015-10-27 13:44:13 +00:00
vm Rework the test which raises OOM condition. Right now, the code 2015-11-16 06:26:26 +00:00
x86 xen: fix dropping bitmap IPIs during resume 2015-11-18 18:11:19 +00:00
xdr
xen xen/intr: fix the event channel enabled per-cpu mask 2015-11-05 14:33:46 +00:00
Makefile