All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sagi Grimberg <sagi@grimberg.me>
To: Max Gurtovoy <maxg@mellanox.com>,
	Leon Romanovsky <leon@kernel.org>,
	Doug Ledford <dledford@redhat.com>
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: Tue, 30 May 2017 14:50:16 +0300	[thread overview]
Message-ID: <fa976fe5-be25-1c6a-5997-8fa7524e89d8@grimberg.me> (raw)
In-Reply-To: <98334f53-a7ff-d465-989f-a5ee7add2291@mellanox.com>


> 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>

  reply	other threads:[~2017-05-30 11:50 UTC|newest]

Thread overview: 7+ 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-21 16:17 ` Leon Romanovsky
2017-05-25 15:24 ` Max Gurtovoy
2017-05-25 15:24   ` Max Gurtovoy
2017-05-30 11:50   ` Sagi Grimberg [this message]
     [not found]     ` <fa976fe5-be25-1c6a-5997-8fa7524e89d8-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2017-07-22 17:17       ` Doug Ledford
2017-07-22 17:17         ` Doug Ledford

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=fa976fe5-be25-1c6a-5997-8fa7524e89d8@grimberg.me \
    --to=sagi@grimberg.me \
    --cc=dledford@redhat.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=maxg@mellanox.com \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.