From: Hangbin Liu <liuhang...@gmail.com> Date: Thu, 7 Feb 2019 18:36:09 +0800
> When disabled IPv6 on boot up, since there is no ipv6 route tables, we should > not call rt6_lookup. Fix them by checking if we have inet6_dev pointer on > netdevice. > > v2: Fix idev reference leak, declarations and code mixing as Stefano, > Eric pointed. Since we only want to check if idev exists and not > reference it, use __in6_dev_get() insteand of in6_dev_get(). Series applied and queued up for -stable, thanks.