From: sashiko-bot@kernel.org
To: "Hannes Reinecke" <hare@kernel.org>
Cc: linux-nvme@lists.infradead.org
Subject: Re: [PATCHv2] nvme-tcp: use correct network namespace to resolve addresses
Date: Thu, 26 Nov 2026 11:58:36 +0000 [thread overview]
Message-ID: <sashiko-outbox-235454@kernel.org> (raw)
In-Reply-To: <20261126115121.6032-1-hare@kernel.org>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] nvme-tcp: missing Fixes trailer for nvme_tcp_alloc_ctrl() netns
and RCU fixes
--
commit a9e44348b8fe94c523f1cf508bd4bb1ce6079725
Author: Hannes Reinecke <hare@kernel.org>
> nvme-tcp: use correct network namespace to resolve addresses
>
> Resolving network addresses should use the current network namespace;
> the passed-in addresses might not exist in the default network namespace.
> And while at use dev_get_by_name_rcu() with proper rcu locks to avoid
> a possible crash on network namespace changes.
>
> Signed-off-by: Hannes Reinecke <hare@kernel.org>
[Severity: Low]
Resolving opts->traddr and opts->host_traddr against init_net dates back
to 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver"), and the
unlocked __dev_get_by_name() call was introduced in 8b43ced64d2b
("nvme-tcp: use __dev_get_by_name instead dev_get_by_name for
OPT_HOST_IFACE"). Should this include:
Fixes: 3f2304f8c6d6 ("nvme-tcp: add NVMe over TCP host driver")
Fixes: 8b43ced64d2b ("nvme-tcp: use __dev_get_by_name instead dev_get_by_name for OPT_HOST_IFACE")
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261126115121.6032-1-hare@kernel.org?part=1
prev parent reply other threads:[~2026-11-26 11:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-26 11:51 [PATCHv2] nvme-tcp: use correct network namespace to resolve addresses Hannes Reinecke
2026-11-26 11:58 ` sashiko-bot [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sashiko-outbox-235454@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=hare@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sashiko-reviews@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox