[stgt] [PATCH] fix bogus registration handling message by handling ISNS_FUNC_SCN_DEREG_RSP
Chandra Seetharaman
sekharan at us.ibm.com
Thu Jul 29 03:59:12 CEST 2010
Hi Tomo,
While using isns, when removing a target I get the following error
message in /var/log/messages:
---------
tgtd: isns_handle(764) unknown function 8006 4 4c00 6 0
----------
It doesn't seem to harm anything but rings an alarm in me :)...
The attached patch fixes it, please apply if it is fine.
Otherwise, give me some suggestions on how to fix it.
regards,
chandra
-------------------
Fix the error
"tgtd: isns_handle(764) unknown function 8006 4 4c00 6 0"
by handling ISNS_FUNC_SCN_DEREG_RSP
Signed-Off-By: Chandra Seetharaman <sekharan at us.ibm.com>
---
usr/iscsi/isns.c | 1 +
1 file changed, 1 insertion(+)
Index: tgt-469b574/usr/iscsi/isns.c
===================================================================
--- tgt-469b574.orig/usr/iscsi/isns.c
+++ tgt-469b574/usr/iscsi/isns.c
@@ -752,6 +752,7 @@ static void isns_handle(int fd, int even
break;
case ISNS_FUNC_DEV_DEREG_RSP:
case ISNS_FUNC_SCN_REG_RSP:
+ case ISNS_FUNC_SCN_DEREG_RSP:
break;
case ISNS_FUNC_SCN:
name = print_scn_pdu(hdr);
--
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