exofs: drop lock/unlock super
[firefly-linux-kernel-4.4.55.git] / net / core / dst.c
index b8d7c700541d71488e9e3bd5553c9fcedab7f910..ee6153e2cf43b83abb51e96620d482e820560ca9 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) {