[v2,1/2] RDMA/uverbs: Fix the check for port number

2017-07-19 Thread Ismail, Mustafa
The port number is only valid if IB_QP_PORT is set in the mask. So only check port number if it is valid to prevent modify_qp from failing due to an invalid port number. Fixes: 5ecce4c9b17b("Check port number supplied by user verbs cmds") Cc: # v2.6.14+ Reviewed-by: Steve Wise Signed-off-by: Mus

RE: [PATCH v2 2/2] RDMA/core: Initialize port_num in qp_attr

2017-07-19 Thread Ismail, Mustafa
> -Original Message- > From: Kalderon, Michal [mailto:michal.kalde...@cavium.com] > Sent: Wednesday, July 19, 2017 3:10 AM > To: Marciniszyn, Mike ; Ismail, Mustafa > ; linux-r...@vger.kernel.org; > dledf...@redhat.com > Cc: sw...@opengridcomputing.com; linux-kernel@v

RE: [PATCH 4.4 29/57] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-07-14 Thread Ismail, Mustafa
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Friday, July 14, 2017 1:49 AM > To: Ismail, Mustafa > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel.org; > sta...@vger.kernel.org; Yevgeny Kliteynik ; > Tzipor

RE: [PATCH 4.4 29/57] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-07-13 Thread Ismail, Mustafa
> -Original Message- > From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Thursday, July 13, 2017 11:26 AM > To: Ismail, Mustafa > Cc: linux-kernel@vger.kernel.org; linux-r...@vger.kernel.org; > sta...@vger.kernel.org; Yevgeny Kliteynik ; > Tzipor

RE: [PATCH 4.4 29/57] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-07-13 Thread Ismail, Mustafa
> Subject: [PATCH 4.4 29/57] RDMA/uverbs: Check port number supplied by > user verbs cmds > > 4.4-stable review patch. If anyone has any objections, please let me know. Yes, this breaks modify qp. See https://patchwork.kernel.org/patch/9830663/ Mustafa

RE: [PATCH] i40iw: avoid potential uninitialized variable use

2016-03-23 Thread Ismail, Mustafa
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, March 23, 2016 5:35 AM > Subject: [PATCH] i40iw: avoid potential uninitialized variable use > > gcc finds that the i40iw_make_cm_node() function in the recently added i40iw > driver uses an uninitilized va

RE: linux-next: build failure after merge of the rdma tree

2016-03-19 Thread Ismail, Mustafa
Faisal is out until 3/18. We will make the changes and send a patch shortly. Thanks Herbert for the pointers. Regards. -Original Message- From: linux-next-ow...@vger.kernel.org [mailto:linux-next-ow...@vger.kernel.org] On Behalf Of Doug Ledford Sent: Wednesday, March 16, 2016 2:03 PM To: