diff options
| author | Dan Carpenter <error27@gmail.com> | 2010-05-06 17:22:21 +0400 |
|---|---|---|
| committer | Roland Dreier <rolandd@cisco.com> | 2010-05-12 20:30:45 +0400 |
| commit | 9fda1ac5fa09c49e9148f85be14f55e2bb856c0f (patch) | |
| tree | def6cf681e460d54b6fc7fe148e5756fb9d5c4c0 /net/unix/sysctl_net_unix.c | |
| parent | 39ff05dbbbdb082bbabf06206c56b3cd4ef73904 (diff) | |
| download | linux-9fda1ac5fa09c49e9148f85be14f55e2bb856c0f.tar.xz | |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
