[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP transmittion slow down after some time
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] TCP transmittion slow down after some time |
Date: |
Thu, 28 Jan 2010 13:09:03 +0000 |
On Tue, 2010-01-26 at 16:50 -0800, kanprin wrote:
> hi all.
> thank you for your attention.
> maybe there is a bug, but I'am not sure.
> my lwip is 1.3.2
> in tcp_out.c line 908(tcp_rexmit_fast()),it is said that
> "
> /* The minimum value for ssthresh should be 2 MSS */
> if (pcb->ssthresh < 2*pcb->mss) {
> "
> but in tcp.c line 653, it is
> "if (pcb->ssthresh < pcb->mss) {
> "
> must it be the same as that used in tcp_rexmit_fast())?
Yes, I think the line in tcp.c should be
if (pcb->ssthresh < (pcb->mss * 2))
Kieran