Re: [PATCH] [1/1] Deprecate tcp_tw_{reuse,recycle}
From: Andi Kleen <hidden>
Date: 2008-01-31 16:49:58
From: Andi Kleen <hidden>
Date: 2008-01-31 16:49:58
On Thu, Jan 31, 2008 at 08:41:38AM -0800, Ben Greear wrote:
I don't know exactly how the tcp_tw_recycle works, but it seems like it could be made to only take affect when all local ports are used up in TIME_WAIT.
TIME-WAIT does not actually use up local ports; it uses up remote ports because it is done on the LISTEN socket which has always a fixed local port. And it has no idea how many ports the other end has left. -Andi