diff options
author | Doug Ledford <dledford@redhat.com> | 2012-03-01 19:55:21 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-03-05 00:23:27 -0800 |
commit | d474186f19d7ac1c7fbb293fdcfa46103e45e2ca (patch) | |
tree | ba5eb32ddc42e99dd3600cd7a972cb31ecdf1e61 /drivers/infiniband/hw/ehca | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) | |
download | talos-op-linux-d474186f19d7ac1c7fbb293fdcfa46103e45e2ca.tar.gz talos-op-linux-d474186f19d7ac1c7fbb293fdcfa46103e45e2ca.zip |
IB/iser: Free IB connection resources in the proper place
We allocate the login dma buffers in iser_verbs.c as part of
alloc_ib_conn_resources(), however we are freeing them in
iser_initiator.c as part of iser_free_rx_descriptors(). This is
needlessly confusing. We have an alloc_rx_descriptors() and it
doesn't alloc something that the free_rx_descriptors() frees, and we
have an alloc_ib_conn_resources() that allocs something not freed by
free_ib_conn_resources(). Clean that up.
Signed-off-by: Doug Ledford <dledford@redhat.com>
[ Fix build error in iser_free_ib_conn_res(). - Or ]
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/ehca')
0 files changed, 0 insertions, 0 deletions