We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2eab454 commit b86762dCopy full SHA for b86762d
net/ipv6/route.c
@@ -638,6 +638,8 @@ static void rt6_probe(struct fib6_nh *fib6_nh)
638
rcu_read_lock();
639
last_probe = READ_ONCE(fib6_nh->last_probe);
640
idev = __in6_dev_get(dev);
641
+ if (!idev)
642
+ goto out;
643
neigh = __ipv6_neigh_lookup_noref(dev, nh_gw);
644
if (neigh) {
645
if (READ_ONCE(neigh->nud_state) & NUD_VALID)
0 commit comments