[PATCH] nvme-tcp: look up host_iface in the current netns

Keith Busch kbusch at kernel.org
Mon Aug 10 11:56:08 PDT 2026


On Sun, Jul 26, 2026 at 10:46:49AM +0800, Geliang Tang wrote:
> From: Geliang Tang <tanggeliang at kylinos.cn>
> 
> nvme_tcp_alloc_ctrl() looks opts->host_iface up in &init_net, the boot-time
> netns. When called from any other netns - e.g. the selftest's ns2, where
> ns2eth1 actually lives - the lookup misses and the controller setup fails
> with "invalid interface passed":

Thanks, applied to nvme-7.3.



More information about the Linux-nvme mailing list