Re: [PATCH 04/20] IB/core: For multicast functions, verify that LIDs are multicast LIDs

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

 



On Sun, Apr 09, 2017 at 10:15:51AM -0700, Dennis Dalessandro wrote:
> From: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx>
>
> The Infiniband spec defines "A multicast address is defined by a
> MGID and a MLID" (section 10.5).  Currently the MLID value is not
> validated.
>
> Add check to verify that the MLID value is in the correct address
> range.
>
> Fixes: 0c33aeedb2cf ("[IB] Add checks to multicast attach and detach")
> Cc: stable@xxxxxxxxxxxxxxx
> Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>
> Reviewed-by: Dasaratharaman Chandramouli <dasaratharaman.chandramouli@xxxxxxxxx>
> Signed-off-by: Michael J. Ruhl <michael.j.ruhl@xxxxxxxxx>
> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@xxxxxxxxx>
> ---
>  drivers/infiniband/core/verbs.c |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]