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

Keith Busch <[email protected]>
Newsgroups org.infradead.lists.linux-nvme
Message-ID <anoeyK7WiQTj15e1@kbusch-mbp>
On Sun, Jul 26, 2026 at 10:46:49AM +0800, Geliang Tang wrote:
> From: Geliang Tang <[email protected]>
> 
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.