Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-19 Thread Amit Kucheria
On Wed, Jul 15, 2020 at 1:11 PM Daniel Lezcano wrote: > > The generic netlink is initialized far after the netlink protocol > itself at subsys_initcall. The devlink is initialized at the same > level, but after, as shown by a disassembly of the vmlinux: > > [ ... ] > 374 8000115f22c0

Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-17 Thread Marek Szyprowski
Hi On 15.07.2020 09:41, Daniel Lezcano wrote: > The generic netlink is initialized far after the netlink protocol > itself at subsys_initcall. The devlink is initialized at the same > level, but after, as shown by a disassembly of the vmlinux: > > [ ... ] > 374 8000115f22c0

Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-17 Thread Daniel Lezcano
On 17/07/2020 19:34, David Miller wrote: > From: Daniel Lezcano > Date: Wed, 15 Jul 2020 09:43:00 +0200 > >> if you agree with this change, is it possible I merge it through the >> thermal tree in order to fix the issue ? > > No problem: > > Acked-by: David S. Miller Thanks! --

Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-17 Thread David Miller
From: Daniel Lezcano Date: Wed, 15 Jul 2020 09:43:00 +0200 > if you agree with this change, is it possible I merge it through the > thermal tree in order to fix the issue ? No problem: Acked-by: David S. Miller

Re: [PATCH] net: genetlink: Move initialization to core_initcall

2020-07-15 Thread Daniel Lezcano
Hi Dave, if you agree with this change, is it possible I merge it through the thermal tree in order to fix the issue ? Thanks -- Daniel On 15/07/2020 09:41, Daniel Lezcano wrote: > The generic netlink is initialized far after the netlink protocol > itself at subsys_initcall. The devlink

[PATCH] net: genetlink: Move initialization to core_initcall

2020-07-15 Thread Daniel Lezcano
The generic netlink is initialized far after the netlink protocol itself at subsys_initcall. The devlink is initialized at the same level, but after, as shown by a disassembly of the vmlinux: [ ... ] 374 8000115f22c0 <__initcall_devlink_init4>: 375 8000115f22c4 <__initcall_genl_init4>: [