M port/ipdat.h => port/ipdat.h +1 -1
@@ 340,7 340,7 @@ struct Ipconv
#define TIMER_RUN 1
#define TIMER_EXPIRE 2
-#define Nreseq 64
+#define Nreseq 128
#define set_timer(t,x) (((t)->start) = (x)/MSPTICK)
#define run_timer(t) ((t)->state == TIMER_RUN)
M port/tcpinput.c => port/tcpinput.c +3 -1
@@ 624,11 624,13 @@ void
add_reseq(Tcpctl *tcb, char tos, Tcp *seg, Block *bp, ushort length)
{
Reseq *rp, *rp1;
+ static int dropped;
qlock(&reseqlock);
if(!reseqfree) {
qunlock(&reseqlock);
- print("tcp: no resequence descriptors\n");
+ if((dropped++%256) == 0)
+ print("tcp: no resequence descriptors\n");
freeb(bp);
return;
}