freebsd-nq/sys
Robert Watson 5e71a73b7b Lock down global variables in if_tap (primarily, the tap softc list);
add tapmtx, which protects globale variables.

Notes:

- The EBUSY check in MOD_UNLOAD may be subject to a race.  Moving the
  event handler unregister inside the mutex grab may prevent that race.

- Locking of global variables safely is now possible because tapclones
  is only modified when the module is loading or unloading, thanks to
  phk's recent chang to clone_setup().

- softc locking to follow.
2004-03-15 01:52:00 +00:00
..
alpha Now that contigfree() does not require Giant, don't grab it in busdma. 2004-03-13 15:42:59 +00:00
amd64 Shorten a long comment. 2004-03-15 00:49:40 +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 Move the non-MD machine/dvcfg.h and machine/physio_proc.h to a common 2004-03-13 19:46:27 +00:00
conf Remove isa compat stuff. 2004-03-14 23:03:57 +00:00
contrib Remove `$Name$' leftovers from the port version reporting. 2004-03-10 15:08:21 +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 Remove isa compat stuff. 2004-03-14 23:03:57 +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 Be more insistent on destroying geoms at unload time. Still not perfect, 2004-03-11 08:16:23 +00:00
gnu Properly vector all bwrite() and BUF_WRITE() calls through the same path 2004-03-11 18:02:36 +00:00
i4b Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
i386 Shorten a long comment. 2004-03-15 00:49:40 +00:00
ia64 Now that contigfree() does not require Giant, don't grab it in busdma. 2004-03-13 15:42:59 +00:00
isa Remove unused FDNUMTOUNIT() macro 2004-02-29 10:21:40 +00:00
isofs/cd9660 Remove unused second arg to vfinddev(). 2004-03-11 16:33:11 +00:00
kern Annual NTP kernel code spring-cleaning: 2004-03-14 15:23:05 +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 Link pf to the build and install: 2004-03-08 22:03:29 +00:00
net Lock down global variables in if_tap (primarily, the tap softc list); 2004-03-15 01:52:00 +00:00
net80211 Change WI_RID_SCAN_RES compatibility interface to return the result after 2004-01-19 05:25:43 +00:00
netatalk Const-poison atmulticastaddr, which should be read but not modified. 2004-03-13 05:27:17 +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 Add a netgraph node to handle ATM LLC encapsulation. This currently handles 2004-03-08 10:54:35 +00:00
netinet De-register. 2004-03-14 00:44:11 +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 Calculate NFS timeouts in units of 10ms, not 5ms. This matches the default 2004-03-14 06:21:56 +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 Shorten a long comment. 2004-03-15 00:49:40 +00:00
pccard Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pci Announce ethernet MAC addresss in ether_ifattach(). 2004-03-14 07:12:25 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Now that contigfree() does not require Giant, don't grab it in busdma. 2004-03-13 15:42:59 +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 Now that contigfree() does not require Giant, don't grab it in busdma. 2004-03-13 15:42:59 +00:00
sys Make the process_exit eventhandler run without Giant. Add Giant hooks 2004-03-14 02:06:28 +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 When I was a kid my work table was one cluttered mess an cleaning it up 2004-03-11 18:50:33 +00:00
vm Remove GIANT_REQUIRED from contigfree(). 2004-03-13 07:09:15 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00