Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2019 11:46:54 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354728 - head/sys/ofed/include/rdma
Message-ID:  <201911151146.xAFBksdZ042518@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Fri Nov 15 11:46:53 2019
New Revision: 354728
URL: https://svnweb.freebsd.org/changeset/base/354728

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

Modified:
  head/sys/ofed/include/rdma/ib_verbs.h

Modified: head/sys/ofed/include/rdma/ib_verbs.h
==============================================================================
--- head/sys/ofed/include/rdma/ib_verbs.h	Fri Nov 15 11:45:14 2019	(r354727)
+++ head/sys/ofed/include/rdma/ib_verbs.h	Fri Nov 15 11:46:53 2019	(r354728)
@@ -285,7 +285,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?201911151146.xAFBksdZ042518>