[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #42299] tcp_abort() leaves freed pcb on tcp_bound_pcbs
From: |
Per Ekman |
Subject: |
[lwip-devel] [bug #42299] tcp_abort() leaves freed pcb on tcp_bound_pcbs list |
Date: |
Tue, 20 May 2014 10:44:35 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 |
Follow-up Comment #1, bug #42299 (project lwip):
I've been running for a while with the following added to tcp_abandon()
if (pcb->state == CLOSED) {
if (pcb->local_port != 0)
TCP_RMV(&tcp_bound_pcbs, pcb);
}
It fixed the problem and I haven't seen any other strangeness (yet).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?42299>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/