]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Initialize port_num in qp_attr
authorIsmail, Mustafa <mustafa.ismail@intel.com>
Fri, 14 Jul 2017 14:41:31 +0000 (09:41 -0500)
committerDoug Ledford <dledford@redhat.com>
Thu, 20 Jul 2017 15:24:13 +0000 (11:24 -0400)
commit3f3039f1e483264c736e2a38c3215ad44be07bf8
tree0f14609ba1f3e3c95a7192d7f59aae349e728658
parentf5e5555ec2056bbfbeef58ad58f98b650e0b134a
RDMA/core: Initialize port_num in qp_attr

Initialize the port_num for iWARP in rdma_init_qp_attr.

Fixes: 0dfe3ca3e9c6("Check port number supplied by user verbs cmds")
Cc: <stable@vger.kernel.org> # v2.6.14+
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Mustafa Ismail <mustafa.ismail@intel.com>
Tested-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cma.c