PERFORCE change 147817 for review
Rui Paulo
rpaulo at FreeBSD.org
Tue Aug 19 17:50:26 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=147817
Change 147817 by rpaulo at rpaulo_phi on 2008/08/19 17:50:20
Cope with more retransmissions.
Affected files ...
.. //depot/projects/soc2008/rpaulo-tcpad/verify.c#14 edit
Differences ...
==== //depot/projects/soc2008/rpaulo-tcpad/verify.c#14 (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#13 $
+ * $P4: //depot/projects/soc2008/rpaulo-tcpad/verify.c#14 $
*/
#include <stdio.h>
@@ -412,6 +412,9 @@
LIST_REMOVE(cp, entries);
free(cp);
break;
+ case TCPS_TIME_WAIT:
+ /* ignore retransmissions */
+ break;
case TCPS_ESTABLISHED:
/* SEQ processing */
if (tlen == 0) {
@@ -481,8 +484,7 @@
}
break;
default:
- if (cp)
- dumper_error(cp, "ACK with no known state");
+ dumper_error(cp, "ACK with no known state");
}
}
More information about the p4-projects
mailing list