~kris/9p

9hist

0bb938e14397628d874fbb36f6df495bdb15997c — David du Colombier 25 years ago 517e460
Plan 9 from Bell Labs 2001-03-08
1 files changed, 9 insertions(+), 1 deletions(-)

M ip/tcp.c
M ip/tcp.c => ip/tcp.c +9 -1
@@ 1129,8 1129,16 @@ update(Conv *s, Tcp *seg)
	}


	if(!seq_gt(seg->ack, tcb->snd.una))
	if(!seq_gt(seg->ack, tcb->snd.una)){
		/*
		 *  don't let us hangup if sending into a closed window and
		 *  we're still getting acks
		 */
		if((tcb->flags&RETRAN) && tcb->snd.wnd == 0){
			tcb->backedoff = MAXBACKMS/4;
		}
		return;
	}

        /*
	 *  any positive ack turns off fast rxt,