[Top][All Lists]

[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:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]