* TCP_LINGER2 TIME_WAIT
@ 2007-09-13 3:54 Reza Roboubi
2007-09-13 9:43 ` Andi Kleen
0 siblings, 1 reply; 3+ messages in thread
From: Reza Roboubi @ 2007-09-13 3:54 UTC (permalink / raw)
To: Linux Kernel Mailing List
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?
Thanks.
Reza.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TCP_LINGER2 TIME_WAIT
2007-09-13 3:54 TCP_LINGER2 TIME_WAIT Reza Roboubi
@ 2007-09-13 9:43 ` Andi Kleen
2007-09-13 16:08 ` Reza Roboubi
0 siblings, 1 reply; 3+ messages in thread
From: Andi Kleen @ 2007-09-13 9:43 UTC (permalink / raw)
To: Reza Roboubi; +Cc: Linux Kernel Mailing List
Reza Roboubi <reza@parvan.net> 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.
-Andi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: TCP_LINGER2 TIME_WAIT
2007-09-13 9:43 ` Andi Kleen
@ 2007-09-13 16:08 ` Reza Roboubi
0 siblings, 0 replies; 3+ messages in thread
From: Reza Roboubi @ 2007-09-13 16:08 UTC (permalink / raw)
To: Andi Kleen, Linux Kernel Mailing List
Andi Kleen wrote:
> Reza Roboubi <reza@parvan.net> 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-13 16:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-13 3:54 TCP_LINGER2 TIME_WAIT Reza Roboubi
2007-09-13 9:43 ` Andi Kleen
2007-09-13 16:08 ` Reza Roboubi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox