ipv4: Do not use dead fib_info entries.
authorDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 02:16:32 +0000 (22:16 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 11 May 2012 02:16:32 +0000 (22:16 -0400)
Due to RCU lookups and RCU based release, fib_info objects can
be found during lookup which have fi->fib_dead set.

We must ignore these entries, otherwise we risk dereferencing
the parts of the entry which are being torn down.

Reported-by: Yevgen Pronenko <yevgen.pronenko@sonymobile.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found