1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys
Don Lewis 288e351b55 If a device attach routine fails during boot and calls bus_teardown_intr(),
ithread_remove_handler() may fail to remove the interrupt handler if
it decides to let the ithread do the removal.  The problem is that during
boot "cold" is set, which causes msleep() to return immediately.  This
will cause ithread_remove_handler() to fail to wait for the ithread
to do the removal from the handler TAILQ before freeing the handler
back to the heap.  Bad things will happen when some other user of the
TAILQ, such as ithread_add_handler() or the actual ithread attempts to use
the freed handler.  Fix the problem by forcing ithread_remove_handler()
to do the actual removal itself if the "cold" flag is set.

Reviewed by:	jhb
2004-01-13 22:55:46 +00:00
..
alpha Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
amd64 Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
arm
boot - Use constant for shift when converting file length in bytes to a sector 2004-01-12 20:34:42 +00:00
cam Move the ciss quirk to the right section, also update the comment 2003-12-08 06:29:38 +00:00
coda - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
compat AMD64 has a single MS-Win calling convention, so provide an empty __stdcall. 2004-01-13 22:49:45 +00:00
conf Forgot ffsl() and flsl() on alpha. 2004-01-13 18:05:49 +00:00
contrib This commit was generated by cvs2svn to compensate for changes in r124120, 2004-01-04 06:35:01 +00:00
crypto avoid module name conflict with opencrypto/rijndael.c. 2003-11-12 04:22:37 +00:00
ddb
dev Initialize drive device_t in softc. 2004-01-13 21:44:03 +00:00
fs Fix an inverted test for NOPEN in the unused function smb_smb_flush(). 2004-01-12 14:43:49 +00:00
geom Print the correct pointer in a KASSERT. 2004-01-11 10:02:42 +00:00
gnu This commit was generated by cvs2svn to compensate for changes in r124361, 2004-01-11 03:34:02 +00:00
i4b Based on an excellent suggestion from tanimura@ define I4BPRI and use it 2003-11-10 14:20:34 +00:00
i386 Only remove the handler if we installed it. 2004-01-12 19:35:31 +00:00
ia64 Whitespace nit. 2004-01-13 15:30:36 +00:00
isa Significantly reduce the "jitter" that is typical for PS/2 mice 2003-12-11 11:28:11 +00:00
isofs/cd9660
kern If a device attach routine fails during boot and calls bus_teardown_intr(), 2004-01-13 22:55:46 +00:00
libkern Cast to unsigned to avoid sign-extension problems. 2004-01-13 16:02:20 +00:00
modules Include "../Makefile.inc" to propagate the configuration to subdirectories. 2004-01-13 13:08:27 +00:00
net Fix a warning when NATM is not defined. In this case s is not used. 2004-01-09 11:25:14 +00:00
net80211 Handle SIOCSIFMTU ioctl directly so we can apply 802.11-specific bounds. 2004-01-13 06:22:55 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netgraph Also, don't crash in the netgraph disconnect node if the interface is 2004-01-09 02:03:24 +00:00
netinet do not deref freed pointer 2004-01-13 09:51:47 +00:00
netinet6 call ipsec_pcbconn()/ipsec_pcbdisconn() from in6_pcbconnect(). 2004-01-13 10:45:02 +00:00
netipsec Push m_apply() and m_getptr() up into the colleciton of standard mbuf 2003-12-15 21:49:41 +00:00
netipx Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey don't touch after free. 2003-12-10 05:01:41 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp
netsmb Add support for SMB request signing, which prevents "man in the middle" 2004-01-02 22:38:42 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client This patch fixes two little portability (to !GCC compilers) problems: 2003-12-11 11:30:26 +00:00
nfsclient Use function pointers to remove the depenancy cross dependancy on nfs4 2003-11-22 02:21:49 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto style(9) pass and type fixups. 2003-12-16 14:13:47 +00:00
pc98 MFi386: revision 1.1114. 2004-01-12 03:43:05 +00:00
pccard - Implement selwakeuppri() which allows raising the priority of a 2003-11-09 09:17:26 +00:00
pci Replace calls to vm_page_alloc_contig() by calls to contigmalloc(). 2004-01-13 07:45:10 +00:00
posix4
powerpc Use a device identify entry point to attach to nexus, since the 2004-01-13 11:25:40 +00:00
rpc Prevent a panic when mounting a v2/v3 only server with mount_nfs4. 2004-01-13 01:04:36 +00:00
security Switch TCP over to using the inpcb label when responding in timed 2003-12-17 14:55:11 +00:00
sparc64 Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
sys Add C implementations of ffsl(), fls() and flsl(). 2004-01-13 15:36:34 +00:00
tools
ufs Avoid calling vprint on a vnode while holding its interlock mutex. 2004-01-04 04:08:34 +00:00
vm Remove long dead code, specifically, code related to munmapfd(). 2004-01-11 06:59:21 +00:00
Makefile