From: Wei Yongjun <[EMAIL PROTECTED]> Date: Wed, 05 Jul 2006 05:19:54 -0400
> In my test, those direct state transition can not be counted to > tcpAttemptFails. Following is my patch: > > Signed-off-by: Wei Yongjun <[EMAIL PROTECTED]> This change can be implemented more simply, I believe. Except for the tcp_minisocks.c change, all the paths changed go to tcp_done() which is what actually transfers the state to TCP_CLOSE. Therefore, tcp_done() can simply be modified to check if the current state is TCP_SYN_RECV, and is so bump the counter. Once you implement it this way, please audit all call paths to make sure we don't now bump this counter twice. Thank you. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html