[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4BAB3460.4000906@cn.fujitsu.com>
Date: Thu, 25 Mar 2010 18:01:04 +0800
From: Shan Wei <shanwei@...fujitsu.com>
To: 杨硕 <shanqn@...il.com>
CC: netdev@...r.kernel.org
Subject: Re: why does the tcp_time_wait() call tcp_done(sk)?
杨硕 wrote, at 03/25/2010 11:24 AM:
> that means the connection has been closed?
> Does kernel think like that???
> we can use "STATE_TRACE" to see FIN_WAIT_2--->CLOSE rather than
> FIN_WAIT_2-->TIME_WAIT-->CLOSE.
There are three functions to call tcp_time_wait() with FIN_WAIT_2.
Can you provide the fully function call stack?
tcp_close tcp_rcv_state_process
\ |
\ |
\ |
-|/ \|/
tcp_time_wait
/|\
|
|
tcp_keepalive_timer
--
Best Regards
-----
Shan Wei
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists