Messages in this thread Patch in this message | | | Date | Tue, 11 Jul 2006 01:43:42 +0300 | From | "Michael S. Tsirkin" <> | Subject | [PATCH] IB/cm: set private data length for reject messages |
| |
Hi Andrew, Here's another infiniband patch that needs to go upstream.
---
From: "Ira Weiny" <weiny2@llnl.gov>
Set private data length for reject messages to the correct size. Fix from openib svn r8483.
Signed-off-by: Sean Hefty <sean.hefty@intel.com> Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Index: openib/drivers/infiniband/core/cma.c =================================================================== --- openib/drivers/infiniband/core/cma.c (revision 8482) +++ openib/drivers/infiniband/core/cma.c (revision 8483) @@ -906,6 +906,7 @@ static int cma_ib_handler(struct ib_cm_i cma_modify_qp_err(&id_priv->id); status = ib_event->param.rej_rcvd.reason; event = RDMA_CM_EVENT_REJECTED; + private_data_len = IB_CM_REJ_PRIVATE_DATA_SIZE; break; default: printk(KERN_ERR "RDMA CMA: unexpected IB CM event: %d", -- MST - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |