From: Wei Wang <wei...@google.com>
Date: Wed,  3 Jan 2018 14:11:59 -0800

> From: Wei Wang <wei...@google.com>
> 
> In fib6_add(), pn could be NULL if fib6_add_1() failed to return a fib6
> node. Checking pn != fn before accessing pn->leaf makes sure pn is not
> NULL.
> This fixes the following GPF reported by syzkaller:
 ...
> Reported-by: syzbot <syzkal...@googlegroups.com>
> Fixes: 66f5d6ce53e6 ("ipv6: replace rwlock with rcu and spinlock in 
> fib6_table")
> Signed-off-by: Wei Wang <wei...@google.com>

Applied, thanks.

Reply via email to