Re: [Patch net v3] ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf

2017-05-08 Thread David Miller
From: Cong Wang Date: Mon, 8 May 2017 10:12:13 -0700 > For each netns (except init_net), we initialize its null entry > in 3 places: > > 1) The template itself, as we use kmemdup() > 2) Code around dst_init_metrics() in ip6_route_net_init() > 3) ip6_route_dev_notify(), which is supposed to init

[Patch net v3] ipv6: reorder ip6_route_dev_notifier after ipv6_dev_notf

2017-05-08 Thread Cong Wang
For each netns (except init_net), we initialize its null entry in 3 places: 1) The template itself, as we use kmemdup() 2) Code around dst_init_metrics() in ip6_route_net_init() 3) ip6_route_dev_notify(), which is supposed to initialize it after loopback registers Unfortunately the last one st