[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] lwip 0.4.2: missing mem_free() with broadcasts?
From: |
Horst Garnetzke |
Subject: |
[lwip-users] [lwip] lwip 0.4.2: missing mem_free() with broadcasts? |
Date: |
Wed, 08 Jan 2003 22:04:04 -0000 |
Hi,
I'm using lwip 0.4.2 in an embedded system with ethernet...
Today I'm putting the system in a bigger ethernet environment and found
that incoming BROADCAST messages allocates memory from pool which will
never be freed!
ipaddr: 10.25.15.99
netmask: 255.255.255.0
No application currently runnning (no LISTEN)!
tcpdump active
mem usage:
6...............................
----- mem: Allocated memory 0k 160b
10.25.15.217.138 > 10.25.15.255.138: U 223
10.25.15.217.138 > 10.25.15.255.138: U 207
mem usage:
721.............................
----- mem: Allocated memory 0k 688b
10.25.15.215.137 > 10.25.15.255.137: U 50
mem usage:
7221............................
----- mem: Allocated memory 0k 788b
10.25.15.215.137 > 10.25.15.255.137: U 50
10.25.15.137.138 > 10.25.15.255.138: U 201
mem usage:
72231...........................
----- mem: Allocated memory 1k 114b
... and so on ...
"mem usages:" comes from adam's mem_debug_print() -a little bit
changed-, each digits gives the number of allocations in a 256 byte
memory block.
Any hints from somebody?
Should I switch to new pre-0.5 stack (cvs stack)?
-Horst
--
Horst Garnetzke address@hidden
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] lwip 0.4.2: missing mem_free() with broadcasts?,
Horst Garnetzke <=