diff options
-rw-r--r-- | net/ipv4/fib_frontend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/fib_frontend.c b/net/ipv4/fib_frontend.c index e61bc7177eb1..990633c09dfe 100644 --- a/net/ipv4/fib_frontend.c +++ b/net/ipv4/fib_frontend.c | |||
@@ -591,7 +591,7 @@ static int fib_inetaddr_event(struct notifier_block *this, unsigned long event, | |||
591 | break; | 591 | break; |
592 | case NETDEV_DOWN: | 592 | case NETDEV_DOWN: |
593 | fib_del_ifaddr(ifa); | 593 | fib_del_ifaddr(ifa); |
594 | if (ifa->ifa_dev && ifa->ifa_dev->ifa_list == NULL) { | 594 | if (ifa->ifa_dev->ifa_list == NULL) { |
595 | /* Last address was deleted from this interface. | 595 | /* Last address was deleted from this interface. |
596 | Disable IP. | 596 | Disable IP. |
597 | */ | 597 | */ |