stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Sagi Grimberg <sagi@grimberg.me>,
	Max Gurtovoy <maxg@mellanox.com>,
	Leon Romanovsky <leon@kernel.org>
Cc: linux-rdma@vger.kernel.org,
	Vladimir Neyelov <vladimirn@mellanox.com>,
	stable@vger.kernel.org
Subject: Re: [PATCH rdma-next] IB/iser: Fix connection teardown race condition
Date: Sat, 22 Jul 2017 13:17:01 -0400	[thread overview]
Message-ID: <cb84b7c0-7347-74cc-db23-0cff4504cb1a@redhat.com> (raw)
In-Reply-To: <fa976fe5-be25-1c6a-5997-8fa7524e89d8@grimberg.me>


[-- Attachment #1.1: Type: text/plain, Size: 679 bytes --]

On 5/30/2017 7:50 AM, Sagi Grimberg wrote:
> 
>> Hi Sagi,
>>
>> what do you think on this approach ?
>> we must somehow defend on the NULL deref in case dd_data in iscsi_conn
>> (the iser_conn) already NULL due to conn_stop call.
> 
> Sounds like we get conn_stop duing lun scanning. Generally speaking I
> don't like a global lock for this, but given the non trivial iscsi state
> machine
> we can do with that.
> 
> Reviewed-by: Sagi Grimberg <sagi@grimbeg.me>

This patch was accepted into 4.13-rc, thanks.

-- 
Doug Ledford <dledford@redhat.com>
    GPG Key ID: B826A3330E572FDD
    Key fingerprint = AE6B 1BDA 122B 23B4 265B  1274 B826 A333 0E57 2FDD


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

      reply	other threads:[~2017-07-22 17:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-21 16:17 [PATCH rdma-next] IB/iser: Fix connection teardown race condition Leon Romanovsky
2017-05-25 15:24 ` Max Gurtovoy
2017-05-30 11:50   ` Sagi Grimberg
2017-07-22 17:17     ` Doug Ledford [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=cb84b7c0-7347-74cc-db23-0cff4504cb1a@redhat.com \
    --to=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=maxg@mellanox.com \
    --cc=sagi@grimberg.me \
    --cc=stable@vger.kernel.org \
    --cc=vladimirn@mellanox.com \
    /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;
as well as URLs for NNTP newsgroup(s).