diff options
author | mav <mav@FreeBSD.org> | 2008-06-01 18:34:58 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2008-06-01 18:34:58 +0000 |
commit | 9b1d66c627083e94ab3e29ebfaa2d37faa036d91 (patch) | |
tree | 79697598b27e010b85229bef1fc3adb099b24bd3 /sys/compat/linux/linux_util.c | |
parent | 4dbba50d9d8658363b21d7a16cff9ae0b26eb2fd (diff) | |
download | FreeBSD-src-9b1d66c627083e94ab3e29ebfaa2d37faa036d91.zip FreeBSD-src-9b1d66c627083e94ab3e29ebfaa2d37faa036d91.tar.gz |
Increase LINK_TABLE_OUT_SIZE from 101 to 4001 like LINK_TABLE_IN_SIZE
to reduce performance degradation under heavy outgoing scan/flood.
Scalability is now much more important then several kilobytes of RAM.
Remove unneded TCP-specific expiration handeling. Before this connected
TCP sessions could never expire. Now connected TCP sessions will expire
after 24hours of inactivity.
Simplify HouseKeeping() to avoid several mul/div-s per packet. Taking into
account increased LINK_TABLE_OUT_SIZE, precision is still much more then
required.
Diffstat (limited to 'sys/compat/linux/linux_util.c')
0 files changed, 0 insertions, 0 deletions