freebsd-dev/sys
Robert Watson b4f5ef7eac sAdd a comment indicating why there continues to be a race condition in
the tap driver, even with Giant over the cdev operation vector, due to
a non-atomic test-and-set of the si_drv1 field in the dev_t.  This bug
exists with Giant under high memory pressure, as malloc() may sleep
in tapcreate(), but is less likely to occur.  The resolution will
probably be to cover si_drv1 using the global tapmtx since no softc is
available, but I need to think about this problem more generally
across a range of drivers using si_drv1 in combination with SI_CHEAPCLONE
to defer expensive allocation to open().

Correct what appears to be a bug in the original if_tap implementation,
in which tapopen() will panic if a tap device instance is opened more
than once due to an incorrect assertion -- only triggered if INVARIANTS
is compiled in (i.e., when built into a kernel).  Return EBUSY instead.

Expand mtx_lock() coverage using tp->tap_mtx to include tp->ether_addr.
2004-03-18 09:55:11 +00:00
..
alpha sync comment with i386's isa.c.. This removes a comment that is YEARS 2004-03-17 21:45:55 +00:00
amd64 Document machdep.hlt_cpus. 2004-03-18 02:53:38 +00:00
arm
boot MFi386: revision 1.29. 2004-03-14 09:43:15 +00:00
cam Compare the *number* of patterns to zero, not the *pointer* to the 2004-02-28 12:59:56 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat - Replace wait1() with a kern_wait() function that accepts the pid, 2004-03-17 20:00:00 +00:00
conf Remove RAIDFrame. It hasn't worked since GEOM replaced the old disk 2004-03-16 12:23:43 +00:00
contrib Style(9) round for the pf kernel parts. Mostly #if defined() -> #ifdef 2004-03-17 21:11:02 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb Give DDB a "watchdog" command which disables all watchdogs. 2004-02-29 09:55:32 +00:00
dev Back out code for auto-gdb detection that accidentally leaked into the 2004-03-18 02:36:41 +00:00
fs Don't reject FAT file systems with a number of "Heads" greater than 2004-03-14 23:28:12 +00:00
geom Move "is consumer attached?" check before G_VALID_PROVIDER() check, 2004-03-18 07:17:10 +00:00
gnu Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
i4b Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
i386 Removed a vestige of the stl driver. 2004-03-18 02:54:42 +00:00
ia64 sync comment with i386's isa.c.. This removes a comment that is YEARS 2004-03-17 21:45:55 +00:00
isa Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
isofs/cd9660 Remove unused second arg to vfinddev(). 2004-03-11 16:33:11 +00:00
kern Revise socow_iodone() in light of recent sf_buf changes. Specifically, 2004-03-17 23:25:04 +00:00
libkern These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
modules Generate opt_inet.h. 2004-03-18 09:45:17 +00:00
net sAdd a comment indicating why there continues to be a race condition in 2004-03-18 09:55:11 +00:00
net80211 Add explicit dependency on "ether", since we use ether_ifattach(). 2004-03-16 19:25:55 +00:00
netatalk Make ddp_ports static, as it's not used outside of ddp_usrreq.c. 2004-03-17 12:54:21 +00:00
netatm These are changes to allow to use the Intel C/C++ compiler (lang/icc) 2004-03-12 21:45:33 +00:00
netgraph Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
netinet Run through indent(1) so I can read the code without getting a headache. 2004-03-16 21:30:41 +00:00
netinet6 Move the AH algorithm list from a static local function variable to 2004-03-10 04:56:54 +00:00
netipsec Fix type in a sysctl. It used to be: net.key.prefered_oldsa 2004-02-16 17:09:53 +00:00
netipx Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
netncp Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +00:00
netsmb Rename dup_sockaddr() to sodupsockaddr() for consistency with other 2004-03-01 03:14:23 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
nfsclient Add a comment with an explanation why we don't report EPIPE errors on 2004-03-17 21:10:20 +00:00
nfsserver Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default 2004-03-14 06:21:56 +00:00
opencrypto kthread_exit() no longer requires Giant, so don't force callers to acquire 2004-03-05 22:42:17 +00:00
pc98 Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pccard Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
pci Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Convert callers to the new bus_alloc_resource_any(9) API. 2004-03-17 17:50:55 +00:00
rpc Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default 2004-03-14 06:21:56 +00:00
security Define BPFD_LOCK_ASSERT() to assert the BPF descriptor lock. 2004-02-29 15:33:56 +00:00
sparc64 sync comment with i386's isa.c.. This removes a comment that is YEARS 2004-03-17 21:45:55 +00:00
sys - Replace wait1() with a kern_wait() function that accepts the pid, 2004-03-17 20:00:00 +00:00
tools Attempt to clean up the emu10k1-alsa.h stuff so that config doesn't 2004-02-05 22:51:16 +00:00
ufs Avoid doing bawrite to initialize inode block while holding cylinder 2004-03-16 22:06:32 +00:00
vm Make overflow/wraparound checking more robust and unbreak len=0 in 2004-03-15 09:11:23 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00