net: remove delay at device dismantle
[deliverable/linux.git] / net / core / dst.c
index 56d63612e1e4b9a1ebfc04ddfa1bcd50333e0118..f6593d238e9abfc6b6dfc9cbbb86d5ad46beae3a 100644 (file)
@@ -374,7 +374,7 @@ static int dst_dev_event(struct notifier_block *this, unsigned long event,
        struct dst_entry *dst, *last = NULL;
 
        switch (event) {
-       case NETDEV_UNREGISTER:
+       case NETDEV_UNREGISTER_FINAL:
        case NETDEV_DOWN:
                mutex_lock(&dst_gc_mutex);
                for (dst = dst_busy_list; dst; dst = dst->next) {
This page took 0.025791 seconds and 5 git commands to generate.