[stgt] [PATCH] iscsi: fix isns initiator ACL

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Fri Jul 2 03:30:39 CEST 2010


Thanks to Ross S. W. Walker.

Signed-off-by: FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp>
---
 usr/iscsi/isns.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/usr/iscsi/isns.c b/usr/iscsi/isns.c
index a61c72f..d0a86a6 100644
--- a/usr/iscsi/isns.c
+++ b/usr/iscsi/isns.c
@@ -460,6 +460,7 @@ static void free_all_acl(struct iscsi_target *target)
 	while (!list_empty(&target->isns_list)) {
 		ini = list_first_entry(&target->isns_list, typeof(*ini), ilist);
 		list_del(&ini->ilist);
+		free(ini);
 	}
 }
 
-- 
1.6.5

--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list