[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #27140] tcp/ip stack hang becouse remains a pbuf_free
From: |
juan schiavoni |
Subject: |
[lwip-devel] [bug #27140] tcp/ip stack hang becouse remains a pbuf_free |
Date: |
Fri, 31 Jul 2009 14:01:03 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.12) Gecko/2009070812 Ubuntu/8.04 (hardy) Firefox/3.0.12 |
Follow-up Comment #4, bug #27140 (project lwip):
thanks for the explanation. I did further research, and found that buffer is
not freed when a new connection is established, because the tcp_tmr never
runs. I think the problem is an error in the avr32 uc porting.
struct tcp_pcb *
tcp_alloc(u8_t prio)
{
struct tcp_pcb *pcb;
u32_t iss;
pcb = memp_malloc(MEMP_TCP_PCB); -> this buffer is no freed
....
....
return pcb;
}
I may be abusing of your patience, but please could you explain the way the
timeout works?
Thanks a lot
Juan
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?27140>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/