From: Paolo Abeni <pab...@redhat.com> Date: Thu, 21 Apr 2016 22:23:31 +0200
> After commit fbd40ea0180a ("ipv4: Don't do expensive useless work > during inetdev destroy.") when deleting an interface, > fib_del_ifaddr() can be executed without any primary address > present on the dead interface. > > The above is safe, but triggers some "bug: prim == NULL" warnings. > > This commit avoids warning if the in_dev is dead > > Signed-off-by: Paolo Abeni <pab...@redhat.com> Applied, thank you.