Mercurial > illumos > illumos-gate
changeset 12612:29da3d2c2ccb
6948307 target redirection doesn't work for iscsi initiator
author | Peter Gill <Peter.Gill@Sun.COM> |
---|---|
date | Fri, 11 Jun 2010 14:34:29 -0400 |
parents | d9f75b73c5fd |
children | 4c5722bc28dc |
files | usr/src/uts/common/io/idm/idm_impl.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/uts/common/io/idm/idm_impl.c Fri Jun 11 01:25:07 2010 -0700 +++ b/usr/src/uts/common/io/idm/idm_impl.c Fri Jun 11 14:34:29 2010 -0400 @@ -20,8 +20,7 @@ */ /* - * Copyright 2010 Sun Microsystems, Inc. All rights reserved. - * Use is subject to license terms. + * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. */ #include <sys/conf.h> @@ -283,6 +282,9 @@ } else { new_event = (rx ? CE_MISC_RX : CE_MISC_TX); } + } else if (rx && login_rsp->status_class == + ISCSI_STATUS_CLASS_REDIRECT) { + new_event = CE_MISC_RX; } else { new_event = (rx ? CE_LOGIN_FAIL_RCV : CE_LOGIN_FAIL_SND); }