svn commit: r262843 - stable/10/usr.bin/iscsictl

Edward Tomasz Napierala trasz at FreeBSD.org
Thu Mar 6 11:10:57 UTC 2014


Author: trasz
Date: Thu Mar  6 11:10:57 2014
New Revision: 262843
URL: http://svnweb.freebsd.org/changeset/base/262843

Log:
  MFC r262525:
  
  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:
  stable/10/usr.bin/iscsictl/iscsictl.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.bin/iscsictl/iscsictl.c
==============================================================================
--- stable/10/usr.bin/iscsictl/iscsictl.c	Thu Mar  6 11:09:46 2014	(r262842)
+++ stable/10/usr.bin/iscsictl/iscsictl.c	Thu Mar  6 11:10:57 2014	(r262843)
@@ -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);


More information about the svn-src-all mailing list