Re: [PATCH v4 1/2] IB/isert: delay the final Login Response until the session is registered

Leon Romanovsky <[email protected]>
Newsgroups org.kernel.vger.target-devel,org.kernel.vger.linux-kernel,org.kernel.vger.linux-rdma,org.kernel.vger.stable
Message-ID <[email protected]>
On Fri, 31 Jul 2026 13:12:11 +0900, Yehyeong Lee wrote:
> isert_put_login_tx() puts the final Login Response on the wire before
> __transport_register_session(), which iscsi_post_login_handler() reaches
> only after iscsi_target_do_login() returns.  An initiator that issues a
> SCSI command as soon as it sees that response can have it executed against
> an se_session whose se_tpg is still NULL, and the ib-comp-wq worker oopses
> on the NULL dereference.
> 
> [...]

Applied, thanks!

[1/2] IB/isert: delay the final Login Response until the session is registered
      https://git.kernel.org/rdma/rdma/c/464f5afa92d071
[2/2] IB/isert: post the full-feature receive buffers after session registration
      https://git.kernel.org/rdma/rdma/c/5247dde9daac7e

Best regards,
-- 
Leon Romanovsky <[email protected]>
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.