Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 16:37:10 GMT
From:      Rui Paulo <rpaulo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 147814 for review
Message-ID:  <200808191637.m7JGbAsO045481@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=147814

Change 147814 by rpaulo@rpaulo_epsilon on 2008/08/19 16:36:47

	Cope with FIN rxmts.

Affected files ...

.. //depot/projects/soc2008/rpaulo-tcpad/verify.c#12 edit

Differences ...

==== //depot/projects/soc2008/rpaulo-tcpad/verify.c#12 (text+ko) ====

@@ -23,7 +23,7 @@
  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/soc2008/rpaulo-tcpad/verify.c#11 $
+ * $P4: //depot/projects/soc2008/rpaulo-tcpad/verify.c#12 $
  */
 
 #include <stdio.h>
@@ -361,6 +361,10 @@
 			DPRINTF(DEBUG_FSM, "FSM transition: %p "
 			    "FIN_WAIT_1 -> CLOSING\n", tp);
 			break;
+		case TCPS_CLOSING:
+		case TCPS_CLOSE_WAIT:
+			/* ignore retransmission */
+			break;
 		default:
 			dumper_error(cp, "FIN with no known state");
 			break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808191637.m7JGbAsO045481>