lx_emul: skb_init() in lx_emul_init_task_function()

Issue #4921
This commit is contained in:
Christian Helmuth 2023-06-02 16:47:03 +02:00 committed by Norman Feske
parent abe163c335
commit 0a28df8805
6 changed files with 26 additions and 4 deletions

View File

@ -489,8 +489,6 @@ void lx_user_init(void)
genode_wg_arch_lx_user_init();
skb_init();
/* trigger execution of 'wg_setup' */
_genode_wg_rtnl_link_ops->setup(genode_wg_net_device());

View File

@ -134,6 +134,8 @@ int lx_emul_init_task_function(void * dtb)
radix_tree_init();
workqueue_init_early();
skb_init();
early_irq_init();
irqchip_init();

View File

@ -314,8 +314,6 @@ void uplink_init(void)
{
pid_t pid;
skb_init();
pid = kernel_thread(user_task_function, NULL, CLONE_FS | CLONE_FILES);
uplink_task_struct_ptr = find_task_by_pid_ns(pid, NULL);

View File

@ -41,3 +41,11 @@ void net_ns_init(void)
{
lx_emul_trace(__func__);
}
#include <linux/skbuff.h>
void skb_init()
{
lx_emul_trace(__func__);
}

View File

@ -766,3 +766,12 @@ void cdev_init(struct cdev * cdev,const struct file_operations * fops)
{
lx_emul_trace(__func__);
}
#include <linux/skbuff.h>
void skb_init()
{
lx_emul_trace(__func__);
}

View File

@ -241,3 +241,10 @@ void __put_cred(struct cred * cred)
lx_emul_trace(__func__);
}
#include <linux/skbuff.h>
void skb_init()
{
lx_emul_trace(__func__);
}