diff options
author | 2010-05-06 16:22:21 +0300 | |
---|---|---|
committer | 2010-05-12 09:30:45 -0700 | |
commit | 9fda1ac5fa09c49e9148f85be14f55e2bb856c0f (patch) | |
tree | def6cf681e460d54b6fc7fe148e5756fb9d5c4c0 /include/linux/i2c | |
parent | IB/iser: Enhance disconnection logic for multi-pathing (diff) | |
download | wireguard-linux-9fda1ac5fa09c49e9148f85be14f55e2bb856c0f.tar.xz wireguard-linux-9fda1ac5fa09c49e9148f85be14f55e2bb856c0f.zip |
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 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions