From: Julian Anastasov
Date: Mon, 26 Oct 2015 23:59:12 +0200
...
> -int fib_sync_down_dev(struct net_device *dev, unsigned long event)
> +/* Event force Flags Description
> + * NETDEV_CHANGE 0 LINKDOWNCarrier OFF, not for scope host
> + *
When fib_netdev_event calls fib_disable_ip on NETDEV_DOWN event
we should not delete the local routes if the local address
is still present. The confusion comes from the fact that both
fib_netdev_event and fib_inetaddr_event use the NETDEV_DOWN
constant. Fix it by returning back the variable