Dan Carpenter
24acc68956
rdma: potential ERR_PTR dereference
...
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@gmail.com>
Acked-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-04-22 15:57:26 -07:00
..
2010-03-30 22:02:32 +09:00
2009-08-23 19:13:14 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-04-09 17:21:14 -07:00
2009-11-29 16:55:45 -08:00
2009-09-15 09:39:44 -07:00
2009-11-18 08:37:40 -08:00
2010-03-30 22:02:32 +09:00
2009-10-30 15:06:39 -07:00
2010-03-30 22:02:32 +09:00
2009-02-26 23:39:25 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-04-09 17:21:14 -07:00
2009-11-29 16:55:45 -08:00
2009-09-15 09:39:44 -07:00
2009-11-18 08:37:40 -08:00
2010-03-30 22:02:32 +09:00
2009-10-30 15:06:39 -07:00
2009-08-23 19:13:09 -07:00
2010-03-30 22:02:32 +09:00
2009-02-26 23:39:26 -08:00
2009-08-23 19:13:09 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-04-22 15:57:26 -07:00
2009-02-26 23:39:33 -08:00
2010-03-30 22:02:32 +09:00
2009-10-30 15:06:37 -07:00
2009-08-23 19:13:12 -07:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2009-08-23 19:13:07 -07:00
2009-11-18 08:37:40 -08:00
2010-02-03 20:16:48 -08:00
2010-03-30 22:02:32 +09:00
2010-03-30 22:02:32 +09:00
2010-02-03 20:16:48 -08:00
2009-08-23 19:13:02 -07:00
2010-03-30 22:02:32 +09:00
2009-08-23 19:13:02 -07:00
2009-11-29 16:55:45 -08:00
2009-08-23 19:13:12 -07:00