On 6/14/17 3:39 AM, Dan Carpenter wrote:
We accidentally return ERR_PTR(0) if ib_alloc_mr() fails. The caller is expecting error pointers so it results in a NULL dereference.Fixes: 1659185fb4d0 ("RDS: IB: Support Fastreg MR (FRMR) memory registration mode") Signed-off-by: Dan Carpenter <[email protected]>
Thanks Dan for fix. Acked-by: Santosh Shilimkar <[email protected]> You haven't copied netdev. Can you please resend the patch with my ack on netdev so that Dave can pick it up.
