aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2019-11-15 11:46:53 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2019-11-15 11:46:53 +0000
commit9220357857fe0760dbb4c767e4a78728948fdae3 (patch)
treec0052cfa0eb25acd277f7a34af21b0db3ad8a186 /sys/ofed
parentae9a8ec99f2fdf57299d2a8dd559c563e4263738 (diff)
downloadsrc-9220357857fe0760dbb4c767e4a78728948fdae3.tar.gz
src-9220357857fe0760dbb4c767e4a78728948fdae3.zip
Prevent potential underflow in ibcore.
Linux commit: a9018adfde809d44e71189b984fa61cc89682b5e MFC after: 1 week Sponsored by: Mellanox Technologies
Notes
Notes: svn path=/head/; revision=354728
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/include/rdma/ib_verbs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/include/rdma/ib_verbs.h b/sys/ofed/include/rdma/ib_verbs.h
index fcf791e9175b..06eb71775d5c 100644
--- a/sys/ofed/include/rdma/ib_verbs.h
+++ b/sys/ofed/include/rdma/ib_verbs.h
@@ -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;
};