freebsd-nq/sys
Jonathan Lemon df5e198723 Lock down the network interface queues. The queue mutex must be obtained
before adding/removing packets from the queue.  Also, the if_obytes and
if_omcasts fields should only be manipulated under protection of the mutex.

IF_ENQUEUE, IF_PREPEND, and IF_DEQUEUE perform all necessary locking on
the queue.  An IF_LOCK macro is provided, as well as the old (mutex-less)
versions of the macros in the form _IF_ENQUEUE, _IF_QFULL, for code which
needs them, but their use is discouraged.

Two new macros are introduced: IF_DRAIN() to drain a queue, and IF_HANDOFF,
which takes care of locking/enqueue, and also statistics updating/start
if necessary.
2000-11-25 07:35:38 +00:00
..
alpha Don't unregister the ioctl handlers before we verified we 2000-11-23 03:21:58 +00:00
amd64 Revert the last commit to the callout interface, and add a flag to 2000-11-25 06:22:16 +00:00
boot mdoc(7) police: do not split author names in the AUTHORS section. 2000-11-22 09:35:58 +00:00
cam Add special quirk for this ancient Viper drive. This is all creeping 2000-11-08 18:37:12 +00:00
coda Give vop_mmap an untimely death. The opportunity to give it a timely 2000-11-01 17:57:24 +00:00
compat Forgot to patch this file in file descriptor race fix commit 2000-11-23 11:05:14 +00:00
compile
conf Update the ed driver to probe and attach under a NEWCARD kernel (I was 2000-11-25 03:36:09 +00:00
contrib/dev We should include <machine/stdarg.h> not <stdarg.h> 2000-10-28 08:32:43 +00:00
crypto Initial import of AES algorithm code (aka Rijndael) from KAME. 2000-10-30 11:03:32 +00:00
ddb
dev Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
fs Update to reflect the disappearance of getsock(). 2000-11-25 07:16:06 +00:00
geom
gnu Quick fix for not writing group descriptor group, inode bitmaps or 2000-11-10 14:54:15 +00:00
i4b Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
i386 Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
ia64 Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
isa Ignore resources with a size of 0, as these are disabled (and we don't 2000-11-07 00:03:33 +00:00
isofs/cd9660 Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
kern Revert the last commit to the callout interface, and add a flag to 2000-11-25 06:22:16 +00:00
libkern add threadsafe version of inet_ntoa (inet_ntoa_r takes a buffer to fill) 2000-11-25 03:14:31 +00:00
miscfs Update to reflect the disappearance of getsock(). 2000-11-25 07:16:06 +00:00
modules Add a module makefile for if_ep. 2000-11-24 17:04:51 +00:00
msdosfs Weaken a bogus dependency on <sys/proc.h> in <sys/buf.h> by #ifdef'ing 2000-10-29 14:54:55 +00:00
net Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netatalk Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netatm Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netgraph Add the use of M_ZERO to netgraph. 2000-11-18 15:17:43 +00:00
netinet Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netinet6 Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netipx Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netkey Revert previous commit after discussion with phk. 2000-10-30 09:13:46 +00:00
netnatm Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
netncp Make malloc use M_ZERO in some more locations. 2000-10-29 16:14:28 +00:00
netns Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
nfs This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
nfsclient This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
nfsserver This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
ntfs Use vop_defaultop() instead of ntfs_bypass(). 2000-11-18 02:47:12 +00:00
nwfs v_interlock is a mutex now, not simple lock. 2000-11-04 02:42:11 +00:00
pc98 Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
pccard fix type check in pccard_beep_select 2000-11-01 00:37:34 +00:00
pci Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
posix4
powerpc Convert various calls to splhigh() to disable_intr() since splhigh() is 2000-11-19 12:28:42 +00:00
rpc
svr4 This patchset fixes a large number of file descriptor race conditions. 2000-11-18 21:01:04 +00:00
sys Revert the last commit to the callout interface, and add a flag to 2000-11-25 06:22:16 +00:00
tools
ufs More aggressively rate limit the growth of soft dependency structures 2000-11-20 06:22:39 +00:00
vm Protect the following with a lockmgr lock: 2000-11-22 07:42:04 +00:00
Makefile