On Wed, Mar 21, 2018 at 01:09:25PM -0500, Shiraz Saleem wrote: > From: Chien Tin Tung <chien.tin.tung@xxxxxxxxx> > > The option size check is using optval instead of optlen > causing the set option call to fail. Use the correct > field, optlen, for size check. > > Fixes: 6a21dfc0d0db ("RDMA/ucma: Limit possible option size") > Signed-off-by: Chien Tin Tung <chien.tin.tung@xxxxxxxxx> > Signed-off-by: Shiraz Saleem <shiraz.saleem@xxxxxxxxx> > --- > drivers/infiniband/core/ucma.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Thanks for catching this. Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature