All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@ziepe.ca>
To: Potnuri Bharat Teja <bharat@chelsio.com>
Cc: dledford@redhat.com, linux-rdma@vger.kernel.org, nirranjan@chelsio.com
Subject: Re: [PATCH v1 for-rc] RDMA/iw_cxgb4: Fix incorrect function parameters
Date: Tue, 12 May 2020 10:36:40 -0300	[thread overview]
Message-ID: <20200512133640.GA30617@ziepe.ca> (raw)
In-Reply-To: <20200511185608.5202-1-bharat@chelsio.com>

On Tue, May 12, 2020 at 12:26:08AM +0530, Potnuri Bharat Teja wrote:
> Commit '11a27e21', while reading TCB field in t4_tcb_get_field32() passes
> wrong mask parameter which leads the driver eventually to access illegal
> SRQ index while flushing the SRQ completions during connection teardown.
> Fixes kernel panic/app segfault due to incorrect function parameters passed
> while reading TCB fields and completing cached SRQ buffers.
> 
> Fixes: 11a27e2121a5 ("iw_cxgb4: complete the cached SRQ buffers")
> Signed-off-by: Potnuri Bharat Teja <bharat@chelsio.com>
> ---
> changelog:
> v1: updated commit description
> ---
>  drivers/infiniband/hw/cxgb4/cm.c | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)

Applied to for-rc, thanks

Jason

      reply	other threads:[~2020-05-12 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-11 18:56 [PATCH v1 for-rc] RDMA/iw_cxgb4: Fix incorrect function parameters Potnuri Bharat Teja
2020-05-12 13:36 ` Jason Gunthorpe [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=20200512133640.GA30617@ziepe.ca \
    --to=jgg@ziepe.ca \
    --cc=bharat@chelsio.com \
    --cc=dledford@redhat.com \
    --cc=linux-rdma@vger.kernel.org \
    --cc=nirranjan@chelsio.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.