All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andreas Meissner <andreas.meissner@indakom.de>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] IPv4: unresolved multicast route cleanup
Date: Mon, 10 May 2010 10:40:47 +0200	[thread overview]
Message-ID: <4BE7C68F.1040403@indakom.de> (raw)
In-Reply-To: <20100503.154128.10559786.davem@davemloft.net>

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);
 	}
 
 	/*


  reply	other threads:[~2010-05-10  8:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-03  9:47 [PATCH] IPv4: unresolved multicast route cleanup Andreas Meißner
2010-05-03 22:41 ` David Miller
2010-05-10  8:40   ` Andreas Meissner [this message]
2010-05-10  9:04     ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2010-05-10  9:09 Andreas Meissner
2010-05-10 11:48 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BE7C68F.1040403@indakom.de \
    --to=andreas.meissner@indakom.de \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.