[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #46384] Segment size calculation bug with MSS != TCP_M
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #46384] Segment size calculation bug with MSS != TCP_MSS |
Date: |
Thu, 19 Nov 2015 06:47:25 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36 |
Follow-up Comment #1, bug #46384 (project lwip):
> one could also argue that smaller pbuf should be allocated if
> connection's MSS is smaller than TCP_MSS. this would be memory
> efficient, since we're not allowed to use full TCP_MSS anyway.
This is the only real solution to the problem you're seeing.
>From reading the code, I don't really how a pbuf > pcb->mss can be allocated,
as the 'mss_local' is passed to 'tcp_pbuf_prealloc()' when allocating for a
new segment.
Have you enabled TCP_OVERSIZE_DBGCHECK to see if there is a bug in oversize
calculation?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?46384>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/