From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: net/ipv6: GPF in rt6_device_match Date: Wed, 3 May 2017 20:43:44 -0600 Message-ID: <79157b41-2a13-6fda-ef31-c96f16850254@gmail.com> References: <4ef76406-8e05-ccdf-fefb-dc47d56c71c9@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: Andrey Konovalov , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev , LKML , Dmitry Vyukov , Kostya Serebryany , Eric Dumazet , syzkaller To: Cong Wang Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On 5/3/17 5:35 PM, Cong Wang wrote: > Ah, we need: > > @@ -4024,7 +4027,7 @@ static struct pernet_operations ip6_route_net_late_ops = { > > static struct notifier_block ip6_route_dev_notifier = { > .notifier_call = ip6_route_dev_notify, > - .priority = 0, > + .priority = -10, /* Must be called after addrconf_notify!! */ > }; > It's not a notifier problem; the null_entry is created in ip6_route_init which is an init function. For network namespaces other than init_net, it is never initialized. See ip6_route_net_init.