[rds-devel] [patch] rdma: potential ERR_PTR dereference
andy.grover at oracle.com
Thu Apr 22 10:28:31 PDT 2010
Dan Carpenter wrote:
> In the original code, the "goto out" calls "rdma_destroy_id(cm_id);"
> That isn't needed here and would cause problems because "cm_id" is an
> ERR_PTR. The new code just returns directly.
> Signed-off-by: Dan Carpenter <error27 at gmail.com>
Acked-by: Andy Grover <andy.grover at oracle.com>
More information about the rds-devel