aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorSurabhi Gogte <sgogte@purestorage.com>2026-09-22 14:07:16 -0600
committerKeith Busch <kbusch@kernel.org>2026-10-13 08:21:08 -0700
commit87a1ac965502858f9207153a92c3aef8ecf6d4ae (patch)
tree402001c9ddba7a5f54897bccee03b2065ebe4c83 /scripts/Makefile.thinlto
parentnvme: apple: add t8132 (M4) ANS2 NVMe support (diff)
nvme-tcp: store and use the caller's network namespace
nvme_tcp_alloc_queue() creates each socket using current->nsproxy->net_ns, which is correct for the initial connect that runs in userspace context. However, the reconnect and error recovery paths run from a workqueue where current netns is a kernel thread in init_net, so sockets created during reconnect end up in a different namespace than the one the controller was originally connected from. Fix this by capturing the caller's network namespace at controller allocation time. Use ctrl->net for all socket creation so that every queue, on initial connect, reset, or reconnect, is created in the same namespace. Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver") Signed-off-by: Surabhi Gogte <sgogte@purestorage.com> Reviewed-by: Hannes Reinecke <hare@kernel.org> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions