Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 09:06:58 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262525 - head/usr.bin/iscsictl
Message-ID:  <201402260906.s1Q96wYY014703@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Wed Feb 26 09:06:57 2014
New Revision: 262525
URL: http://svnweb.freebsd.org/changeset/base/262525

Log:
  There is no need to prevent iscsictl from adding iSER session when there
  is no iSER support in ctld and/or kernel; should the user make that mistake,
  the output from "iscsictl -L" is enough to determine what the problem is.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/usr.bin/iscsictl/iscsictl.c

Modified: head/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- head/usr.bin/iscsictl/iscsictl.c	Wed Feb 26 06:25:36 2014	(r262524)
+++ head/usr.bin/iscsictl/iscsictl.c	Wed Feb 26 09:06:57 2014	(r262525)
@@ -242,11 +242,6 @@ conf_verify(struct conf *conf)
 		}
 		if (targ->t_protocol == PROTOCOL_UNSPECIFIED)
 			targ->t_protocol = PROTOCOL_ISCSI;
-#ifndef ICL_KERNEL_PROXY
-		if (targ->t_protocol == PROTOCOL_ISER)
-			errx(1, "iSER support requires ICL_KERNEL_PROXY; "
-			    "see iscsi(4) for details");
-#endif
 		if (targ->t_address == NULL)
 			errx(1, "missing TargetAddress for target \"%s\"",
 			    targ->t_nickname);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402260906.s1Q96wYY014703>