[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #45433] Endless loop in tcp_slowtmr
From: |
Michael Tempest |
Subject: |
[lwip-devel] [bug #45433] Endless loop in tcp_slowtmr |
Date: |
Thu, 16 Mar 2017 09:16:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0 |
Follow-up Comment #4, bug #45433 (project lwip):
I have encountered the same problem. I traced it to calling tcp_close whilst
the pcb is in the TIME_WAIT state. tcp_close_shutdown then moves the pcb to
the tcp_tw_pcbs list. Since it is already there, this creates a loop in the
tcp_tw_pcbs list.
We can argue whether it is legal for the application should be calling
tcp_close when in this state, but i believe that tcp_close should protect
itself against this - it is easy to catch with a check and hard to debug...
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?45433>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #45433] Endless loop in tcp_slowtmr,
Michael Tempest <=