RE: [PATCH] RDMA/uverbs: Fix the check for port number

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Subject: Re: [PATCH] RDMA/uverbs: Fix the check for port number
> 
> On Wed, Jul 26, 2017 at 11:14:46AM -0500, Mustafa Ismail wrote:
> > 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@xxxxxxxxxxxxxxx> # v4.2-v4.9
> > Cc: <security@xxxxxxxxxx>
> > Cc: Doug Ledford <dledford@xxxxxxxxxx>
> > Cc: Steve Wise <swise@xxxxxxxxxxxxxxxxxxxxx>
> > Cc: Mike Marciniszyn <mike.marciniszyn@xxxxxxxxx>
> >
> > Signed-off-by: Mustafa Ismail <mustafa.ismail@xxxxxxxxx>
> >
> > Upstream commit 5a7a88f1b488("Fix the check for port number") Modified
> > from upstream commit: helper function rdma_is_port_valid does not
> > exist in these kernel versions.
> 
> Note, you sent this 3 times for some reason, why?
> 
> Also, it was hard to figure out what to do with it, I think it was ment for me to apply
> to the 4.4 and 4.9-stable trees, right?  If so, I've done that, if not, please let me
> know.
> 

Hi Greg - Mustafa is on vacation. Yes. The patch is meant for 4.4 and 4.9 stable tree.

Shiraz
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux