[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <32E1700B9017364D9B60AED9960492BC34341CBF@fmsmsx120.amr.corp.intel.com>
Date: Mon, 17 Jul 2017 19:10:15 +0000
From: "Marciniszyn, Mike" <mike.marciniszyn@...el.com>
To: "Ismail, Mustafa" <mustafa.ismail@...el.com>,
"linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
"dledford@...hat.com" <dledford@...hat.com>
CC: "swise@...ngridcomputing.com" <swise@...ngridcomputing.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>,
"e1000-rdma@...ts.sourceforge.net" <e1000-rdma@...ts.sourceforge.net>,
"Saleem, Shiraz" <shiraz.saleem@...el.com>
Subject: RE: [PATCH v2 1/2] RDMA/uverbs: Fix the check for port number
> Subject: [PATCH v2 1/2] RDMA/uverbs: Fix the check for port number
>
> 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: <stable@...r.kernel.org> # v2.6.14+
> Reviewed-by: Steve Wise <swise@...ngridcomputing.com>
> Signed-off-by: Mustafa Ismail <mustafa.ismail@...el.com>
Tested-by: Mike Marciniszyn <mike.marciniszyn@...el.com>
Powered by blists - more mailing lists