Re: TCP_LINGER2 TIME_WAIT

From: Reza Roboubi
Date: Thu Sep 13 2007 - 12:06:54 EST


Andi Kleen wrote:
Reza Roboubi <reza@xxxxxxxxxx> writes:

man 7 tcp says TCP_LINGER2 sets the lifetime of orphaned FIN_WAIT2 state
sockets. What about wanting to forcibly kill a "rotten" TCP socket in
any other "WAIT" state like TIME_WAIT?

The whole point of TIME-WAIT is catching old packets still in network.
Killing it early would avoid its purpose.

tcp_max_tw_buckets does exactly that system wide, and for good reason. Why not give userspace oversight over the process?

Reza.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/