[Top][All Lists]

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

Re: Re: [lwip-users] memory leak when sending snmp trap

From: Alexandre Malo
Subject: Re: Re: [lwip-users] memory leak when sending snmp trap
Date: Mon, 15 Jun 2009 15:58:43 -0400

After tought,
   I will not use the other structure I created to send trap. I first made them thinking snmp_varbind_alloc was making the memory leak maybe because au multitask corrupting the memory.
Thinking that I used snmp_varbind_alloc inside the tcpip thread. But since it is protected from concurrent access, I will use snmp_varbind_alloc directly from my other task.
I will post my example when I find it clean ;)
As for putting it in a port. I dont really know how to do that.
----- Original Message -----
Sent: Thursday, June 11, 2009 1:11 PM
Subject: Re: Re: [lwip-users] memory leak when sending snmp trap

I cant get the leak again. Im now at 60000 trap sent with out any memory leak.
I think that the value was the problem.. It's not a bug but a wrong comprehansion from myself.
Thanks for the help! And thanks for telling me not to use LWIP outside of tcpip thread :)
Thats bug I wond have to search later on.
Have a good day
Alexandre Malo

reply via email to

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