]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Increase LINK_TABLE_OUT_SIZE from 101 to 4001 like LINK_TABLE_IN_SIZE
authormav <mav@FreeBSD.org>
Sun, 1 Jun 2008 18:34:58 +0000 (18:34 +0000)
committermav <mav@FreeBSD.org>
Sun, 1 Jun 2008 18:34:58 +0000 (18:34 +0000)
commit9b1d66c627083e94ab3e29ebfaa2d37faa036d91
tree79697598b27e010b85229bef1fc3adb099b24bd3
parent4dbba50d9d8658363b21d7a16cff9ae0b26eb2fd
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.
sys/netinet/libalias/alias_db.c
sys/netinet/libalias/alias_local.h