[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100422.155754.233400086.davem@davemloft.net>
Date: Thu, 22 Apr 2010 15:57:54 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: andy.grover@...cle.com, rds-devel@....oracle.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] rdma: potential ERR_PTR dereference
From: Dan Carpenter <error27@...il.com>
Date: Thu, 22 Apr 2010 11:55:27 +0200
> 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@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists