Skip to contentSkip to conversation

Little bug in STGT

DISCUSSION FUJITA Tomonori 1 participant 1 message Nov 26, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.64.1411251809010.24756@cube

#1 lore raw

Hi,

Quoted 3 lines · On Tue, 25 Nov 2014 18:13:27 +0100 (CET) [email protected] wrote:

Sorry for writing directly, but this tiny typo is not worth the effort of subscribing.
It prevents a deletion of entry from iqn_acl.

Thanks a lot! Applied.

You can post anything to the mailing list without subscribing.

Quoted 20 lines

Regards,
Borg

usr/mgmt.c +0 -0
index 1eae0c9..3587f4b 100644
@@ -152,7 +152,7 @@ static tgtadm_err target_mgmt(int lld_no, struct

mgmt_task *
mtask)
p = strstr(mtask->req_buf, "initiator-name=");

 if (p) {
        p += strlen("initiator-name=");
usr/mgmt.c +1 -1
-       adm_err = iqn_acl_del(req->tid, p + strlen("initiator-name="));
+       adm_err = iqn_acl_del(req->tid, p);
        if (adm_err != TGTADM_SUCCESS) {
                eprintf("Failed to unbind by name: %s\n", p);
                break;