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