diff options
author | Erez Zilber <erezz@voltaire.com> | 2006-09-27 14:27:10 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2006-09-28 19:53:16 +0200 |
commit | 87e8df7a273c7c1acb864c90b5253609c44375a6 (patch) | |
tree | e1de2523387f416a67570122c2632ca3be80aafd /drivers/infiniband/ulp/iser/iscsi_iser.h | |
parent | RDMA/amso1100: Fix memory leak in c2_reg_phys_mr() (diff) | |
download | linux-87e8df7a273c7c1acb864c90b5253609c44375a6.tar.xz linux-87e8df7a273c7c1acb864c90b5253609c44375a6.zip |
IB/iser: Have iSER data transaction object point to iSER conn
iSER uses a data transaction object (struct iser_dto) as part
of its IB data descriptors (struct iser_desc) management.
It also uses a hierarchy of connection structures pointing to
each other. A DTO may exist even after the iscsi_iser connection
pointed by it is destroyed (eg one that is bound to a post
receive buffer which was flushed by the IB HW). Hence DTOs need
point to the lowest connection, which is struct iser_conn.
Signed-off-by: Erez Zilber <erezz@voltaire.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index 2cf9ae0def1c..2826540d2f23 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h @@ -192,7 +192,7 @@ struct iser_regd_buf { struct iser_dto { struct iscsi_iser_cmd_task *ctask; - struct iscsi_iser_conn *conn; + struct iser_conn *ib_conn; int notify_enable; /* vector of registered buffers */ |