diff options
author | Dan Carpenter <error27@gmail.com> | 2010-05-06 16:22:21 +0300 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-05-12 09:30:45 -0700 |
commit | 9fda1ac5fa09c49e9148f85be14f55e2bb856c0f (patch) | |
tree | def6cf681e460d54b6fc7fe148e5756fb9d5c4c0 /drivers/infiniband/hw | |
parent | 39ff05dbbbdb082bbabf06206c56b3cd4ef73904 (diff) |
IB/iser: Fix error flow in iser_create_ib_conn_res()
We shouldn't free things here because we free them later.
The call tree looks like this:
iser_connect() ==> initiating the connection establishment
and later
iser_cma_handler() => iser_route_handler() => iser_create_ib_conn_res()
if we fail here, eventually iser_conn_release() is called, resulting
in a double free.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Or Gerlitz <ogerlitz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw')
0 files changed, 0 insertions, 0 deletions