stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
[parent not found: <1500040931-19400-1-git-send-email-mustafa.ismail@intel.com>]
* [PATCH v2 0/2] Fix modify_qp failure
@ 2017-07-14 14:41 Mustafa Ismail
  2017-07-14 14:41 ` [PATCH v2 2/2] RDMA/core: Initialize port_num in qp_attr Mustafa Ismail
  0 siblings, 1 reply; 8+ messages in thread
From: Mustafa Ismail @ 2017-07-14 14:41 UTC (permalink / raw)
  To: linux-rdma, dledford
  Cc: swise, linux-kernel, stable, e1000-rdma, shiraz.saleem

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

-- 
2.7.4

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-07-19 15:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <1500040430-12844-1-git-send-email-mustafa.ismail@intel.com>
2017-07-14 13:53 ` [PATCH v2 1/2] RDMA/uverbs: Fix the check for port number Mustafa Ismail
2017-07-14 13:53 ` [PATCH v2 2/2] RDMA/core: Initialize port_num in qp_attr Mustafa Ismail
     [not found] <1500040931-19400-1-git-send-email-mustafa.ismail@intel.com>
2017-07-14 14:02 ` Mustafa Ismail
2017-07-14 14:41 [PATCH v2 0/2] Fix modify_qp failure Mustafa Ismail
2017-07-14 14:41 ` [PATCH v2 2/2] RDMA/core: Initialize port_num in qp_attr Mustafa Ismail
2017-07-17 19:10   ` Marciniszyn, Mike
2017-07-19  8:09     ` Kalderon, Michal
2017-07-19 14:38       ` Ismail, Mustafa
2017-07-19 15:09         ` Kalderon, Michal

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