From: Eric Dumazet <eric.dumazet@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: ebiederm@xmission.com, netdev@vger.kernel.org, daniel.lezcano@free.fr
Subject: Re: [PATCH] ipv4: Flush per-ns routing cache more sanely.
Date: Tue, 26 Oct 2010 21:30:22 +0200 [thread overview]
Message-ID: <1288121422.2652.14.camel@edumazet-laptop> (raw)
In-Reply-To: <20101026.122022.241452738.davem@davemloft.net>
Le mardi 26 octobre 2010 à 12:20 -0700, David Miller a écrit :
> From: ebiederm@xmission.com (Eric W. Biederman)
> Date: Tue, 26 Oct 2010 12:05:39 -0700
>
> >> @@ -999,7 +999,7 @@ static int fib_netdev_event(struct notifier_block *this, unsigned long event, vo
> >> rt_cache_flush(dev_net(dev), 0);
> >> break;
> >> case NETDEV_UNREGISTER_BATCH:
> >> - rt_cache_flush_batch();
> >> + rt_cache_flush_batch(dev_net(dev));
> >
> > It still has this incorrect conversion in it.
>
> Sorry I missed that, what's the exact problem with it?
Because the way _BATCH operation is performed, we call it once...
rollback_registered_many() calls it for the first dev queued in the
list.
So it should be net independant.
next prev parent reply other threads:[~2010-10-26 19:30 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-26 17:34 [PATCH] ipv4: Flush per-ns routing cache more sanely David Miller
2010-10-26 18:57 ` Eric Dumazet
2010-10-26 18:57 ` Daniel Lezcano
2010-10-26 19:05 ` Eric W. Biederman
2010-10-26 19:20 ` David Miller
2010-10-26 19:30 ` Eric Dumazet [this message]
2010-10-29 21:41 ` Daniel Lezcano
2010-10-29 22:21 ` David Miller
2010-12-20 5:14 ` David Miller
2010-12-20 17:13 ` Eric Dumazet
2010-12-20 18:36 ` 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=1288121422.2652.14.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=daniel.lezcano@free.fr \
--cc=davem@davemloft.net \
--cc=ebiederm@xmission.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox