Subject: Re: [PATCH] IPv4: unresolved multicast route cleanup

From: Andreas Meissner <[email-masked]>
Date: Mon, 10 May 2010 10:40:47 +0200

David Miller wrote:
> 
> Your email client has corrupted tabs into space characters, and
> the new code in your patch is not indented properly.
> 

2nd try. Indentation should be ok now, hopefully.
---
 ipmr.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
--- net/ipv4/ipmr.c.orig	2010-05-10 10:07:38.000000000 +0200
+++ net/ipv4/ipmr.c	2010-05-10 10:08:39.000000000 +0200
@@ -753,7 +753,8 @@
 		c->next = mfc_unres_queue;
 		mfc_unres_queue = c;
 
-		mod_timer(&ipmr_expire_timer, c->mfc_un.unres.expires);
+		if (atomic_read(&net->ipv4.cache_resolve_queue_len) == 1)
+			mod_timer(&ipmr_expire_timer, c->mfc_un.unres.expires);
 	}
 
 	/*