freebsd-nq/sys
Andre Oppermann 12e2e97051 Convert the tcp segment reassembly queue to UMA and limit the maximum
amount of segments it will hold.

The following tuneables and sysctls control the behaviour of the tcp
segment reassembly queue:

 net.inet.tcp.reass.maxsegments (loader tuneable)
  specifies the maximum number of segments all tcp reassemly queues can
  hold (defaults to 1/16 of nmbclusters).

 net.inet.tcp.reass.maxqlen
  specifies the maximum number of segments any individual tcp session queue
  can hold (defaults to 48).

 net.inet.tcp.reass.cursegments (readonly)
  counts the number of segments currently in all reassembly queues.

 net.inet.tcp.reass.overflows (readonly)
  counts how often either the global or local queue limit has been reached.

Tested by:	bms, silby
Reviewed by:	bms, silby
2004-02-24 15:27:41 +00:00
..
alpha Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
amd64 Catch up with some proc/procsig locking improvements that were made to the 2004-02-21 23:34:42 +00:00
arm Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
boot Re-add sio.S, and properly deal with assembler files. 2004-02-17 07:13:04 +00:00
cam Check that periph is non-NULL before dereferencing it. 2004-02-22 01:14:54 +00:00
coda Device megapatch 5/6: 2004-02-21 21:32:15 +00:00
compat Regen (FWIW) 2004-02-21 23:38:58 +00:00
conf Fix vinums cdevsw{} to initialize d_version. 2004-02-23 08:55:13 +00:00
contrib Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
crypto Fix a reentrancy issue in md5_calc(). 2004-01-27 18:57:21 +00:00
ddb If not in the debugger or if the user requests it with the 2004-01-28 06:51:18 +00:00
dev Don't set d_flags twice. The second setting clobbered D_NOGIANT. 2004-02-24 04:35:44 +00:00
fs Do not attempt to open NODEV 2004-02-24 09:59:35 +00:00
geom Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
gnu Enforce the file size limit in VOP_WRITE() as well as VOP_TRUNCATE(); 2004-02-19 09:06:06 +00:00
i4b Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
i386 Fixed the latest unsortings of CPU_ENABLE_*. 2004-02-24 04:18:07 +00:00
ia64 Do not pre-map the I/O port space. On the Intel Tiger 4 this conflicts 2004-02-22 02:10:48 +00:00
isa Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
isofs/cd9660 Fix comment containing vop_readdir_args contents: a_cookies is really 2004-02-23 01:43:00 +00:00
kern Fix two oversights here: don't trash the freelist, and properly cleanup 2004-02-23 08:42:55 +00:00
libkern Remove register keyword and constify tmp values. This fixes 2004-02-12 03:23:13 +00:00
modules Connect geom_concat.ko module to the build. 2004-02-23 20:03:53 +00:00
net Don't set d_flags twice. The second setting clobbered D_NOGIANT. 2004-02-24 04:35:44 +00:00
net80211 Change WI_RID_SCAN_RES compatibility interface to return the result after 2004-01-19 05:25:43 +00:00
netatalk Eliminate a duplicate free when deleting an interface address. This 2003-11-28 04:19:41 +00:00
netatm Don't remove the first mbuf in the chain if it got empty. 2004-02-21 12:55:07 +00:00
netgraph Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
netinet Convert the tcp segment reassembly queue to UMA and limit the maximum 2004-02-24 15:27:41 +00:00
netinet6 Fix array overflow: If len=128, don't access [16] of a 16-byte IPv6 2004-02-24 01:20:51 +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 Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netkey avoid duplicate free. 2004-01-25 17:18:12 +00:00
netnatm Introduce a MAC label reference in 'struct inpcb', which caches 2003-11-18 00:39:07 +00:00
netncp Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
netsmb Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
nfs University of Michigan's Citi NFSv4 kernel client code. 2003-11-14 20:54:10 +00:00
nfs4client protect new cdevsw entries with "#if (__FreeBSD_version > 502102)" 2004-02-22 05:49:38 +00:00
nfsclient If mountnfs returns an error, it will have already freed nam; no need to 2004-02-22 01:17:47 +00:00
nfsserver Fix some becuase -> because typos. 2003-12-17 16:12:01 +00:00
opencrypto Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pc98 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pccard Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
pci Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
posix4 The sem_timedwait() and ksem_timedwait() functions both 2004-02-03 22:27:03 +00:00
powerpc Work-in-progress for the 'Kauai' ATA device in Mac notebooks. The 2004-02-12 09:17:16 +00:00
rpc Don't panic because of RPC proto mismatches. Whitespace cleanup. 2004-01-17 21:25:05 +00:00
security Reimplement sysctls handling by MAC framework. 2004-02-22 12:31:44 +00:00
sparc64 Device megapatch 4/6: 2004-02-21 21:10:55 +00:00
sys Add sysctls to allow showing threads for pgrp, tty, uid, ruid, 2004-02-22 17:54:32 +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 A more accurate test in the new ufs_lock than that in 1.235. 2004-02-23 19:05:05 +00:00
vm - Substitute bdone() and bwait() from vfs_bio.c for 2004-02-23 03:15:13 +00:00
Makefile Replaced outdated comment. 2004-01-17 03:28:27 +00:00