lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Possible SNTP bug


From: ake . forslund
Subject: Re: [lwip-users] Possible SNTP bug
Date: Mon, 29 Aug 2011 15:20:02 +0200

Great!

It seems a little bit weird though, if it is as you say the pbuf that gets freed in sntp_recv is allocated when the message is received why don't we get a memory loss when an answer is received.

But maybe we do and the rate of the memory loss is reduced so it's hardly noticable when there are no timeouts. You mentioned that you had a small memoryloss even when you got a proper answer. If that is the case then you have solved the issue =)

But a guru-comment would be nice!

Regards
/Åke
-----------------------------
Åke Forslund
0433-273296
NIBE AB
Box 14
S-285 21  Markaryd
Tel +46-(0)433-273296



From: "Bernhard 'Gustl' Bauer" <address@hidden>
To: Mailing list for lwIP users <address@hidden>
Date: 2011-08-29 15:07
Subject: Re: [lwip-users] Possible SNTP bug
Sent by: address@hidden





Am 29.08.2011 14:53, schrieb Bernhard 'Gustl' Bauer:
> Maybe we can free pbuf right after calling udp_sendto()?

I tried it, and the first impression is: it's working.

Maybe one of the gurus can comment this?

Gustl

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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