lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] socket memory problem


From: yueyue papa
Subject: [lwip-users] socket memory problem
Date: Tue, 23 Dec 2008 15:45:58 +0800

Hi All,

I am using lwIP socket interface. I meet a kind of memory leak.

Two task
1. Receive task always in received task.
   The task is always block all writter the recieved buffer to other pipline.

2. Control task
    It may close the socket

The memory leak will hapeen if control task is closed the socket while antother receive task is still in blocking.  One PBUF will be leaked.

My question
1. Whether my flow break the lwIP pre-required  condition.
2. How could I make quick fixed.

The problem is we are already uing socket interface in previous socket soltuion, and now, I use lwIP replacement previous TCP/IP stack. The inner strucuture is a little difficult to changed.

Lee


reply via email to

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