freebsd-nq/sys/i386
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
..
acpica FreeBSD-specific OSD (operating system dependant) modules for the Intel 2000-10-28 06:56:15 +00:00
apm Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
bios Remove unneeded #include <sys/proc.h> lines. 2000-10-29 13:57:19 +00:00
conf Add kernel option NETGRAPH_ONE2MANY. 2000-11-16 16:59:26 +00:00
i386 Revert the last commit to the callout interface, and add a flag to 2000-11-25 06:22:16 +00:00
ibcs2 Make MINSIGSTKSZ machine dependent, and have the sigaltstack 2000-11-09 08:25:48 +00:00
include These files are mpsafe. 2000-11-25 03:01:05 +00:00
isa Lock down the network interface queues. The queue mutex must be obtained 2000-11-25 07:35:38 +00:00
linux Correct a misnamed argument hidden behind a #ifdef DEBUG 2000-11-25 07:04:43 +00:00
pci Hack to work around a probe which will lock up at least some i450GX-based 2000-11-08 11:25:15 +00:00
svr4 Remove unneeded <stddef.h> #includes. 2000-10-29 16:57:42 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00