freebsd-skq/sys
scottl 7e4340d511 Don't jam the softc in the device_probe routine. The softc isn't owned by
the driver here, so it shouldn't be accessed, let alone written to.  Remove
the nearby debug line, it's the only thing that depended on the softc, and
it depended on it in a way that couldn't work in this part of the code.

This fixes some reports of use-after-free and system instability with
DEBUG_MEMGUARD enabled.

Submitted by:	Matthew Macy
MFC after:	3 days
2016-05-13 05:57:21 +00:00
..
amd64 Add locking annotations to amd64 struct md_page members. 2016-05-10 09:58:51 +00:00
arm Add OF_prop_free function as a counterpart for OF_*prop_alloc 2016-05-11 18:20:02 +00:00
arm64 Rename the internal BUC_DMA_* flags to BF_* so they won't conflict with 2016-05-12 15:24:36 +00:00
boot sys/boot/common: use of spaces vs. TAB. 2016-05-12 01:19:11 +00:00
bsm
cam Allow sleepable allocations in enclosure daemon threads. 2016-05-10 16:20:36 +00:00
cddl compat/opensolaris: Don't redefined off64_t if already defined 2016-05-11 16:05:32 +00:00
compat Fix handling of IOCTLs in the LinuxKPI. 2016-05-12 11:38:28 +00:00
conf Add gpiokeys driver 2016-05-11 17:57:26 +00:00
contrib Revert AccessWidth/BitOffset support for AcpiHwWrite() and AcpiHwRead() for 2016-04-30 06:48:48 +00:00
crypto aesni(4): Initialize error before use 2016-04-20 03:05:32 +00:00
ddb Revert r298938: Change x/a to work similar to gdb. 2016-05-06 20:28:28 +00:00
dev Don't jam the softc in the device_probe routine. The softc isn't owned by 2016-05-13 05:57:21 +00:00
fs nfsd: Fix use-after-free in NFS4 lock test service 2016-05-12 05:03:12 +00:00
gdb
geom Add missing include "opt_geom.h" to make GEOM_UZIP_DEBUG option working, 2016-05-06 20:32:39 +00:00
gnu Change OpenWRT imported dtsi files 2016-04-20 14:29:03 +00:00
i386 Add a new bus method to fetch device-specific CPU sets. 2016-05-09 20:50:21 +00:00
isa sys/isa: minor spelling fixes. 2016-05-03 21:51:52 +00:00
kern Stop hiding errors that result in failure to mount /dev. Otherwise, 2016-05-12 07:38:10 +00:00
kgssapi kgssapi: insignificant spelling fix. 2016-05-03 22:05:03 +00:00
libkern sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
mips Remove NULL checks after M_WAITOK allocations from sys/mips/. 2016-05-11 09:42:24 +00:00
modules Add loadable module for gpiokeys 2016-05-12 20:20:54 +00:00
net Allow silencing of 'promiscuous mode enabled/disabled' messages. 2016-05-12 19:42:13 +00:00
net80211 net80211: drop some unused variables / local macros 2016-05-12 22:17:00 +00:00
netgraph sys/netgraph: spelling fixes in comments. 2016-04-29 21:25:05 +00:00
netinet Retire net.inet.sctp.strict_sacks and net.inet.sctp.strict_data_order 2016-05-12 16:34:59 +00:00
netinet6 Remove obsolescent comments from nd6_purge(). 2016-05-09 23:43:12 +00:00
netipsec netipsec: Fix minor style nit 2016-05-10 20:14:11 +00:00
netnatm kernel: use our nitems() macro when it is available through param.h. 2016-04-19 23:48:27 +00:00
netpfil Fix memory leak possible in error case. 2016-05-11 10:04:32 +00:00
netsmb sys/net*: minor spelling fixes. 2016-05-03 18:05:43 +00:00
nfs NFS: spelling fixes on comments. 2016-04-29 16:07:25 +00:00
nfsclient
nfsserver
nlm Remove slightly used const values that can be replaced with nitems(). 2016-04-21 15:38:28 +00:00
ofed sys/ofed: minor spelling fix. 2016-05-06 15:37:06 +00:00
opencrypto sys/opencrypto: minor spelling fixes. 2016-05-06 23:37:19 +00:00
pc98 Move 'device pci' for the PCI bus driver to the MI NOTES file. 2016-04-29 23:53:55 +00:00
powerpc Native PCI-express HotPlug support. 2016-05-05 22:26:23 +00:00
riscv Rework the list of all pmaps: embed the list link into pmap. 2016-04-26 14:38:18 +00:00
rpc sys/rpc: minor spelling fixes. 2016-05-06 01:49:46 +00:00
security sys/security: minor spelling fixes. 2016-05-06 16:59:04 +00:00
sparc64 sys/sparc64: minor spelling fixes. 2016-05-04 15:52:40 +00:00
sys Pollute more places with off64_t and add __off64_t 2016-05-12 21:18:17 +00:00
teken
tests
tools Fix MFS builds when both MD_ROOT_SIZE and MFS_IMAGE are specified 2016-02-02 07:02:51 +00:00
ufs UFS: spelling fixes on comments. 2016-04-29 20:43:51 +00:00
vm Move vm_domain_rr_selectdomain() under #ifdef VM_NUMA_ALLOC. 2016-05-10 22:25:55 +00:00
x86 Allow orm(4) to be disabled from probing/attaching by a hints entry: 2016-05-10 22:28:06 +00:00
xdr RPC: for pointers replace 0 with NULL. 2016-04-14 17:06:37 +00:00
xen
Makefile Add riscv to the list of architectures for cscope. 2016-02-29 16:39:27 +00:00