[PATCH net-next v2 3/3] mctp i3c: MCTP I3C driver
Jakub Kicinski
kuba at kernel.org
Tue Jul 18 18:54:39 PDT 2023
On Mon, 17 Jul 2023 12:06:38 +0800 Matt Johnston wrote:
> + dev_net_set(ndev, current->nsproxy->net_ns);
This is a bit odd, we may have missed similar code in earlier mctp
drivers. Are you actually making use of auto-assigning netns?
> + mbus->tx_thread = kthread_create(mctp_i3c_tx_thread, mbus,
> + "%s/tx", ndev->name);
> + if (IS_ERR(mbus->tx_thread)) {
> + dev_warn(&ndev->dev, "Error creating thread: %pe\n",
> + mbus->tx_thread);
> + rc = PTR_ERR(mbus->tx_thread);
> + mbus->tx_thread = NULL;
> + goto err;
> + }
> + wake_up_process(mbus->tx_thread);
kthread_run()
More information about the linux-i3c
mailing list