public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Leon Romanovsky <leon-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Dennis Dalessandro
	<dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
	Nicolas Morey-Chaisemartin
	<nmoreychaisemartin-IBi9RG/b67k@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org,
	stable-Xl5UnYtxxKxKUA01WzcqbQ@public.gmane.org,
	bvanassche-HInyCGIudOg@public.gmane.org
Subject: Re: [PATCH rdma-core 1/2] srp_daemon: handle SM lid change
Date: Tue, 19 Dec 2017 07:46:47 +0200	[thread overview]
Message-ID: <20171219054647.GI18894@mtr-leonro.local> (raw)
In-Reply-To: <0ca80873-0eb0-9c64-f813-dee94b82eea6-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]

On Wed, Dec 13, 2017 at 06:32:30AM -0500, Dennis Dalessandro wrote:
> On 12/12/2017 9:08 AM, Nicolas Morey-Chaisemartin wrote:
> > When srp_daemon was running and the master SM host changes,
> >   srp_daemon output these errors at every scan:
> > srp_daemon[25394]: No response to inform info registration
> > srp_daemon[25394]: Fail to register to traps, maybe there is no opensm
> >   running on fabric or IB port is down
> >
> > This was introduced by commit 4952e5f Fix a memory leak.
> > A side effect of this patch was that create_ah was only called when the
> >   port lid changes. Which meant register_to_traps used an older, obsolete,
> >   version of sm_lid and failed to connect to it.
> >
> > This patch fixes this behaviour by checking for both local lid changes and
> >   SM lid changes, and calling create_ah on any of these events.
> >
> > Signed-off-by: Nicolas Morey-Chaisemartin <NMoreyChaisemartin-IBi9RG/b67k@public.gmane.org>
> > Cc: stable-Xl5UnYtxxKxKUA01WzcqbQ@public.gmane.org # v14, v15, v16

There is no need to mention all versions, it is enough to write first one.

Thanks

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      parent reply	other threads:[~2017-12-19  5:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-12 14:08 [PATCH rdma-core 1/2] srp_daemon: handle SM lid change Nicolas Morey-Chaisemartin
     [not found] ` <dba1097c-8ab9-7086-a976-46e6d3c4a165-IBi9RG/b67k@public.gmane.org>
2017-12-12 14:38   ` Hal Rosenstock
2017-12-12 17:10   ` Bart Van Assche
2017-12-13 11:32   ` Dennis Dalessandro
     [not found]     ` <0ca80873-0eb0-9c64-f813-dee94b82eea6-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-12-19  5:46       ` Leon Romanovsky [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=20171219054647.GI18894@mtr-leonro.local \
    --to=leon-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=bvanassche-HInyCGIudOg@public.gmane.org \
    --cc=dennis.dalessandro-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
    --cc=hal-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=nmoreychaisemartin-IBi9RG/b67k@public.gmane.org \
    --cc=stable-Xl5UnYtxxKxKUA01WzcqbQ@public.gmane.org \
    /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