]> git.karo-electronics.de Git - linux-beck.git/commitdiff
IB/cm: Fix layout of APR message
authorEli Cohen <eli@dev.mellanox.co.il>
Mon, 19 Dec 2011 19:46:53 +0000 (21:46 +0200)
committerRoland Dreier <roland@purestorage.com>
Wed, 4 Jan 2012 05:04:18 +0000 (21:04 -0800)
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>
drivers/infiniband/core/cm_msgs.h

index 505db2a59e7f4f46b85422c94955459b6b00b85a..7da9b2102341c2f364f31989aa656d4d750272ee 100644 (file)
@@ -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];