Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1694183
| From | Doug Ledford <dledford@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/2] Fix modify_qp failure |
| Date | 2017-07-22 20:20 +0200 |
| Message-ID | <u67ap-5g7-11@gated-at.bofh.it> (permalink) |
| References | <u3a4N-4Lm-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On 7/14/2017 10:41 AM, Mustafa Ismail wrote:
> Commit 5ecce4c9b17b("Check port number supplied by user verbs cmds") causes
> modify_qp to fail because port_num is only valid when the mask is set.
>
> Additionally, for iWARP, the port_num is not initialized which also
> causes modify_qp to fail.
>
> This series fixes both issues.
>
> Changes to V2:
> * Add reviewed-by
> * Cc: <stable@vger.kernel.org>
>
> Mustafa Ismail (2):
> RDMA/uverbs: Fix the check for port number
> RDMA/core: Initialize port_num in qp_attr
>
> drivers/infiniband/core/cma.c | 2 ++
> drivers/infiniband/core/uverbs_cmd.c | 3 ++-
> 2 files changed, 4 insertions(+), 1 deletion(-)
>
This 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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v2 0/2] Fix modify_qp failure Doug Ledford <dledford@redhat.com> - 2017-07-22 20:20 +0200
csiph-web