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;
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to