svn commit: r291509 - stable/10/sys/dev/isp

Alexander Motin mav at FreeBSD.org
Mon Nov 30 21:36:24 UTC 2015


Author: mav
Date: Mon Nov 30 21:36:23 2015
New Revision: 291509
URL: https://svnweb.freebsd.org/changeset/base/291509

Log:
  MFC r290981: Off-by-one correctiont to r290980.

Modified:
  stable/10/sys/dev/isp/isp.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/dev/isp/isp.c
==============================================================================
--- stable/10/sys/dev/isp/isp.c	Mon Nov 30 21:35:43 2015	(r291508)
+++ stable/10/sys/dev/isp/isp.c	Mon Nov 30 21:36:23 2015	(r291509)
@@ -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-stable-10 mailing list