[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190207.104858.2028156451560331960.davem@davemloft.net>
Date: Thu, 07 Feb 2019 10:48:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: liuhangbin@...il.com
Cc: netdev@...r.kernel.org, sbrivio@...hat.com, eric.dumazet@...il.com
Subject: Re: [PATCH v2 net 0/2] fix two kernel panics when disabled IPv6 on
boot up
From: Hangbin Liu <liuhangbin@...il.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.
Powered by blists - more mailing lists