Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2019 14:24:11 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r354996 - stable/11/sys/ofed/include/rdma
Message-ID:  <201911221424.xAMEOBT6007653@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Nov 22 14:24:10 2019
New Revision: 354996
URL: https://svnweb.freebsd.org/changeset/base/354996

Log:
  MFC r354728:
  Prevent potential underflow in ibcore.
  
  Linux commit:
  a9018adfde809d44e71189b984fa61cc89682b5e
  
  Sponsored by:	Mellanox Technologies

Modified:
  stable/11/sys/ofed/include/rdma/ib_verbs.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/ofed/include/rdma/ib_verbs.h
==============================================================================
--- stable/11/sys/ofed/include/rdma/ib_verbs.h	Fri Nov 22 14:23:11 2019	(r354995)
+++ stable/11/sys/ofed/include/rdma/ib_verbs.h	Fri Nov 22 14:24:10 2019	(r354996)
@@ -283,7 +283,7 @@ enum ib_cq_creation_flags {
 
 struct ib_cq_init_attr {
 	unsigned int	cqe;
-	int		comp_vector;
+	u32		comp_vector;
 	u32		flags;
 };
 



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