Re: [PATCH rdma-next 1/3] IB/usnic: Fix out of bounds index check in query pkey

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

 



On Mon, Jan 07, 2019 at 05:27:54PM +0200, Gal Pressman wrote:
> The pkey table size is one element, index should be tested for > 0
> instead of > 1.
> 
> Fixes: e3cf00d0a87f ("IB/usnic: Add Cisco VIC low-level hardware driver")
> Cc: Christian Benvenuti <benve@xxxxxxxxx>
> Cc: Nelson Escobar <neescoba@xxxxxxxxx>
> Cc: Parvi Kaustubhi <pkaustub@xxxxxxxxx>
> Signed-off-by: Gal Pressman <galpress@xxxxxxxxxx>
> Acked-by: Parvi Kaustubhi <pkaustub@xxxxxxxxx>
> ---
>  drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied this series to for-next thanks

Jason



[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