svn commit: r290981 - head/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Tue Nov 17 14:22:57 UTC 2015


Author: mav
Date: Tue Nov 17 14:22:56 2015
New Revision: 290981
URL: https://svnweb.freebsd.org/changeset/base/290981

Log:
  Off-by-one correctiont to r290980.

Modified:
  head/sys/dev/isp/isp.c

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c	Tue Nov 17 14:13:55 2015	(r290980)
+++ head/sys/dev/isp/isp.c	Tue Nov 17 14:22:56 2015	(r290981)
@@ -4268,7 +4268,7 @@ isp_next_handle(ispsoftc_t *isp, uint16_
 	handle = *ohp;
 	if (ISP_CAP_2KLOGIN(isp)) {
 		minh = 0;
-		maxh = NPH_RESERVED;
+		maxh = NPH_RESERVED - 1;
 	} else {
 		minh = SNS_ID + 1;
 		maxh = NPH_MAX - 1;


More information about the svn-src-head mailing list