freebsd-skq/sys
Bjoern A. Zeeb eea3faf77b Rework reference counting in case we queue into the netisr,
or overflow the netisr queue and fall back to the interface
queue so that we can garuantee that the ifnet pointer stays
valid.   Formerly we ended up with reference counts <= 0 in
case the netisr had returned ENOBUFS.  The idea is to track
any packet in the netisr queue and only change the refount
on edge operations for the fallback interface queue. This
also avoids problems in case the if_snd.ifq_len lies to us.

Also rework refount assertions to make sure they trigger if
we go below 1. Formerly a negative refence count did not
trigger the assert as the refcount variable is u_int.

Sponsored by:	ISPsystem
MFC after:	5 days
2010-03-06 21:22:28 +00:00
..
amd64 The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
arm Provide correct TCLK value for Kirkwood A1 silicon revision. 2010-03-05 19:45:45 +00:00
boot Add bwn(4) driver. 2010-02-25 19:47:47 +00:00
bsm Add audit events for process descriptor system calls, which will appear in 2009-09-29 21:25:59 +00:00
cam Make PUIS detection more strict. Previous implementation caused false 2010-02-26 10:42:46 +00:00
cddl Remove racy assertion. 2010-03-06 20:03:26 +00:00
compat The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-01 17:20:04 +00:00
conf Harmonize Octeon ldscripts, reducing gratuitous diffs and using KERNLOADADDR in 2010-03-05 23:03:20 +00:00
contrib Merge ACPICA 20100304. 2010-03-05 21:39:16 +00:00
crypto
ddb Add a space before printing 'thread pid ...' to match the space before 2010-02-12 19:52:51 +00:00
dev Merge ACPICA 20100304. 2010-03-05 21:39:16 +00:00
fs When returning error from msdosfs_lookup(), make sure that *vpp is NULL. 2010-03-03 21:59:45 +00:00
gdb
geom Please welcome HAST - Highly Avalable Storage. 2010-02-18 23:16:19 +00:00
gnu Bring in the ext2fs work done by Aditya Sarawgi during and after Google Summer 2010-01-14 14:30:54 +00:00
i386 The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
ia64 The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
isa Introduce the new kernel sub-tree x86 which should contain all the code 2010-02-25 14:13:39 +00:00
kern put calls to gzclose() under ifdef COMPRESS_USER_CORES to prevent 2010-03-04 21:53:45 +00:00
kgssapi
libkern Merge from head at r201628. 2010-01-06 05:58:07 +00:00
mips Check for device faults and for failures to set DRQ when expected, rather 2010-03-06 05:49:15 +00:00
modules Add a missing ar9285_reset.c file. 2010-03-03 20:01:31 +00:00
net Rework reference counting in case we queue into the netisr, 2010-03-06 21:22:28 +00:00
net80211 Ensure that tkip_mixing_phase1() is called after a rekeying event when 2010-02-08 18:16:59 +00:00
netatalk
netgraph Declare a new EVENTHANDLER called iflladdr_event which signals that the L2 2010-01-18 20:34:00 +00:00
netinet plug a memory leak on pipe's reconfiguration 2010-03-05 17:53:28 +00:00
netinet6 Use reference counting instead of locking to secure an address while 2010-02-27 07:12:25 +00:00
netipsec Correct typo in comment. 2010-02-18 22:34:29 +00:00
netipx
netnatm
netncp
netsmb Don't print out a message on loading a module. 'kldload -v' and 'kldstat 2009-09-10 18:33:08 +00:00
nfs Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nfsclient Simplify code a bit. 2010-02-18 22:10:55 +00:00
nfsserver Factor out the code shared between NFS client and server into its own 2010-02-16 20:00:21 +00:00
nlm Handle GRANTED_RES messages more gracefully: Send along a grant cookie 2009-10-07 19:50:14 +00:00
opencrypto Add comments trying to explain what bad things happen here, i.e. 2010-01-09 15:43:47 +00:00
pc98 MFx86: the part of r204641 2010-03-05 11:11:42 +00:00
pci Add initial support for RTL8103E PCIe fastethernet. 2010-01-27 17:49:27 +00:00
powerpc Fix an obvious lock escape and fix a typo in a comment. 2010-03-04 17:24:31 +00:00
rpc Replace the static NGROUPS=NGROUPS_MAX+1=1024 with a dynamic 2010-01-12 07:49:34 +00:00
security Update device-labeling logic for Biba, LOMAC, and MLS to recognize new-style 2010-03-02 15:05:48 +00:00
sparc64 The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
sun4v The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
sys The NetBSD Foundation has granted permission to remove clause 3 and 4 from 2010-03-03 17:55:51 +00:00
teken Fall back to ASCII codepoints for box drawing. 2010-02-08 09:16:59 +00:00
tools Output a comment on top of each generated file explaining where it came 2009-10-25 09:48:21 +00:00
ufs When ffs_realloccg() failed to allocate bigger fragment and, because 2010-02-13 10:34:50 +00:00
vm Update comment for vm_page_alloc(9), listing all acceptable flags [1]. 2010-02-27 17:09:28 +00:00
x86 Improving the clocks auto-tunning by firstly checking if the atrtc may be 2010-03-03 17:13:29 +00:00
xdr
xen don't hold spin lock across free 2010-02-21 01:12:18 +00:00
Makefile