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.carpenter@xxxxxxxxxx>
Thanks Dan for fix. Acked-by: Santosh Shilimkar <santosh.shilimkar@xxxxxxxxxx> You haven't copied netdev. Can you please resend the patch with my ack on netdev so that Dave can pick it up. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html