diff options
author | silby <silby@FreeBSD.org> | 2003-11-01 07:30:08 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-11-01 07:30:08 +0000 |
commit | 34fc0661fd7ffdd72ebd690082b4490b2a198754 (patch) | |
tree | 243678db3e842414f07bf976a824feb772294945 /lib/libc/stdio/fputwc.c | |
parent | 2cedc070de4852174973d34b8317ff273d31ca54 (diff) | |
download | FreeBSD-src-34fc0661fd7ffdd72ebd690082b4490b2a198754.zip FreeBSD-src-34fc0661fd7ffdd72ebd690082b4490b2a198754.tar.gz |
- Add a new function tcp_twrecycleable, which tells us if the ISN which
we will generate for a given ip/port tuple has advanced far enough
for the time_wait socket in question to be safely recycled.
- Have in_pcblookup_local use tcp_twrecycleable to determine if
time_Wait sockets which are hogging local ports can be safely
freed.
This change preserves proper TIME_WAIT behavior under normal
circumstances while allowing for safe and fast recycling whenever
ephemeral port space is scarce.
Diffstat (limited to 'lib/libc/stdio/fputwc.c')
0 files changed, 0 insertions, 0 deletions