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 <dan.carpen...@oracle.com>

Thanks Dan for fix.

Acked-by: Santosh Shilimkar <santosh.shilim...@oracle.com>

You haven't copied netdev. Can you please resend the patch
with my ack on netdev so that Dave can pick it up.




Reply via email to