mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
net: netlink: Call netlink_proto_init() later when CONFIG_ROCKCHIP_THUNDER_BOOT=y
netlink_proto_init() depends on sock_init() to init sock_mnt. But netlink_proto_init() and sock_init() are both in the same core_initcall level. Fix this by move netlink_proto_init() to the core_initcall_sync level. Change-Id: I76733399c269efb191c5208fe45ce3add8993ebf Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -2779,4 +2779,8 @@ panic:
|
||||
panic("netlink_init: Cannot allocate nl_table\n");
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ROCKCHIP_THUNDER_BOOT
|
||||
core_initcall_sync(netlink_proto_init);
|
||||
#else
|
||||
core_initcall(netlink_proto_init);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user