Re: [PATCH] ipv4: Flush per-ns routing cache more sanely.
From: Eric Dumazet <hidden>
Date: 2010-10-26 19:30:27
From: Eric Dumazet <hidden>
Date: 2010-10-26 19:30:27
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 -0700quoted
quoted
@@ -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.