lkml.org 
[lkml]   [2016]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH net] ipv4/fib: don't warn when primary address is missing if in_dev is dead
From
From: Paolo Abeni <pabeni@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 <pabeni@redhat.com>

Applied, thank you.

\
 
 \ /
  Last update: 2016-04-25 05:41    [W:0.051 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site