Le vendredi 09 septembre 2011 à 13:48 -0700, Kumar S a écrit :
Hi Eric,
I did not flush those routes explicitly. They are flushed out
automatically by calling "rt_run_flush". It inturn calls rt_free(),
but __cache_free() never gets called after that. Basically, I have 512
MBytes of memory on board. I want to restrict the cache to around 64k,
with max_size. But if I do that due to this leak, TCP/IP communication
stops working when it reaches 64k.
Your dsts use about 3Mb of memory out of 512Mb. Its certainly not the
reason of the failures you have.
Its not a leak.
All "in use" dst are queued in dst_gc, check net/core/dst.c for details.