diff options
author | Eli Cohen <eli@dev.mellanox.co.il> | 2011-12-19 21:46:53 +0200 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-01-03 21:04:18 -0800 |
commit | 6f233d300d301b08b4627fbcf29dfc4eda16e4d8 (patch) | |
tree | acb241753fcbff8bbe8cd616ac3f7c8189262a37 | |
parent | 5f0a6e2d503896062f641639dacfe5055c2f593b (diff) | |
download | op-kernel-dev-6f233d300d301b08b4627fbcf29dfc4eda16e4d8.zip op-kernel-dev-6f233d300d301b08b4627fbcf29dfc4eda16e4d8.tar.gz |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/core/cm_msgs.h b/drivers/infiniband/core/cm_msgs.h index 505db2a..7da9b21 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]; |