From: Eli Cohen Date: Mon, 19 Dec 2011 19:46:53 +0000 (+0200) Subject: IB/cm: Fix layout of APR message X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f233d300d301b08b4627fbcf29dfc4eda16e4d8;p=linux-beck.git 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 Acked-by: Sean Hefty Signed-off-by: Roland Dreier --- 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];