[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160424.232656.1674286215462940225.davem@davemloft.net>
Date: Sun, 24 Apr 2016 23:26:56 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: pabeni@...hat.com
Cc: netdev@...r.kernel.org, kuznet@....inr.ac.ru,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] ipv4/fib: don't warn when primary address is
missing if in_dev is dead
From: Paolo Abeni <pabeni@...hat.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 <pabeni@...hat.com>
Applied, thank you.
Powered by blists - more mailing lists