Date: Fri, 31 Oct 2003 23:30:08 -0800 (PST) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet in_pcb.c tcp_subr.c tcp_var.h Message-ID: <200311010730.hA17U85t095346@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/10/31 23:30:08 PST FreeBSD src repository Modified files: sys/netinet in_pcb.c tcp_subr.c tcp_var.h Log: - 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. Revision Changes Path 1.125 +12 -0 src/sys/netinet/in_pcb.c 1.165 +19 -0 src/sys/netinet/tcp_subr.c 1.91 +2 -0 src/sys/netinet/tcp_var.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311010730.hA17U85t095346>