Thread (5 messages) 5 messages, 3 authors, 2005-02-17

Re: 2.6.10 dst cache overflow

From: J. Simonetti <hidden>
Date: 2005-02-17 14:42:26

On Wed, 2005-02-16 at 15:28, Robert Olsson wrote:
Hello!

Very recently here on netdev "Memory leak in 2.6.11-rc1" was discussed 
this resulted in:
 
quoted
===== net/ipv4/ip_output.c 1.74 vs edited =====
--- 1.74/net/ipv4/ip_output.c	2005-01-25 01:40:10 +01:00
+++ edited/net/ipv4/ip_output.c	2005-01-30 18:54:43 +01:00
@@ -389,6 +389,7 @@
 	to->priority = from->priority;
 	to->protocol = from->protocol;
 	to->security = from->security;
+	dst_release(to->dst);
 	to->dst = dst_clone(from->dst);
 	to->dev = from->dev;  
and a similar patch for ipv6. Should be a start.
After reading the thread and doing some research of my own it looks like
that is what I'm suffering from. I will try the patch to see if it
helps.
Thank you for the help.

Jeroen Simonetti
--
Netland Internet Services
http://www.netland.nl

Increased knowledge will help you now.  Have mate's phone bugged.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help