Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33565
b: refs/heads/master
c: f3ff0c3
h: refs/heads/master
i:
  33563: aabb09b
v: v3
  • Loading branch information
Mike Christie authored and James Bottomley committed Jul 28, 2006
1 parent efd8a5b commit f4cff70
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 40527afea1a3b18ee5754e17d6f807176e03f1f2
refs/heads/master: f3ff0c3627df90aa28be98803b10289bb348e4e6
3 changes: 3 additions & 0 deletions trunk/drivers/scsi/libiscsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1357,6 +1357,8 @@ void iscsi_session_teardown(struct iscsi_cls_session *cls_session)
iscsi_pool_free(&session->mgmtpool, (void**)session->mgmt_cmds);
iscsi_pool_free(&session->cmdpool, (void**)session->cmds);

kfree(session->targetname);

iscsi_destroy_session(cls_session);
scsi_host_put(shost);
module_put(owner);
Expand Down Expand Up @@ -1491,6 +1493,7 @@ void iscsi_conn_teardown(struct iscsi_cls_conn *cls_conn)

spin_lock_bh(&session->lock);
kfree(conn->data);
kfree(conn->persistent_address);
__kfifo_put(session->mgmtpool.queue, (void*)&conn->login_mtask,
sizeof(void*));
list_del(&conn->item);
Expand Down

0 comments on commit f4cff70

Please sign in to comment.