summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Cohen <eli@dev.mellanox.co.il>2011-12-19 21:46:53 +0200
committerRoland Dreier <roland@purestorage.com>2012-01-03 21:04:18 -0800
commit6f233d300d301b08b4627fbcf29dfc4eda16e4d8 (patch)
treeacb241753fcbff8bbe8cd616ac3f7c8189262a37
parent5f0a6e2d503896062f641639dacfe5055c2f593b (diff)
IB/cm: Fix layout of APR message
Add a missing 16-bit reserved field between ap_status and info fields. Signed-off-by: Eli Cohen <eli@mellanox.com> Acked-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
-rw-r--r--drivers/infiniband/core/cm_msgs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h
index 505db2a59e7f..7da9b2102341 100644
--- a/drivers/infiniband/core/cm_msgs.h
+++ b/drivers/infiniband/core/cm_msgs.h
@@ -799,6 +799,7 @@ struct cm_apr_msg {
u8 info_length;
u8 ap_status;
+ __be16 rsvd;
u8 info[IB_CM_APR_INFO_LENGTH];
u8 private_data[IB_CM_APR_PRIVATE_DATA_SIZE];