From: Eric Dumazet <[email protected]>
Date: Fri, 23 Mar 2018 07:56:58 -0700
> syzbot reported a LOCKDEP splat [1] in rt6_age_examine_exception()
>
> rt6_age_examine_exception() is called while rt6_exception_lock is held.
> This lock is the lower one in the lock hierarchy, thus we can not
> call dst_neigh_lookup() function, as it can fallback to neigh_create()
>
> We should instead do a pure RCU lookup. As a bonus we avoid
> a pair of atomic operations on neigh refcount.
>
> [1]
...
> Fixes: c757faa8bfa2 ("ipv6: prepare fib6_age() for exception table")
> Signed-off-by: Eric Dumazet <[email protected]>
Applied and queued up for -stable, thanks Eric.