[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work
From: |
Joel Cunningham |
Subject: |
[lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum. |
Date: |
Thu, 1 Jun 2017 16:51:35 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0 |
Follow-up Comment #8, bug #51154 (project lwip):
Simon,
TCP_WND controls our receiving window, not the remote's receive window (which
is what the sending is limited by). Maybe we could stop at pcb->snd_wnd_max,
though I'm not sure 100% sure about the relationship between snd_wnd_max and
ssthresh and if its ok to stop growing cwnd when snd_wnd_max < ssthresh.
Having cwnd grow larger than snd_wnd_max is what LwIP has historically done
and is safe because we do:
wnd = LWIP_MIN(pcb->snd_wnd, pcb->cwnd);
in tcp_output() to gate sending. Setting cwnd to the maximum value in the
rollover case really just lets the sender use that last bit of window for
cases when snd_wnd_max == maximum value of tcpwnd_size_t, which is likely in
the non-scaling case where the remote's window is 65535 or close to!
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?51154>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Tim Cussins, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Tim Cussins, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Joel Cunningham, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Joel Cunningham, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Tim Cussins, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Simon Goldschmidt, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Joel Cunningham, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Simon Goldschmidt, 2017/06/01
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum.,
Joel Cunningham <=
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Tim Cussins, 2017/06/02
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Simon Goldschmidt, 2017/06/02
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Simon Goldschmidt, 2017/06/02
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Joel Cunningham, 2017/06/02
- [lwip-devel] [bug #51154] ABC (Appropriate Byte Counting) fails to work with TCP_WND set to maximum., Simon Goldschmidt, 2017/06/14