This is a note to let you know that I've just added the patch titled

    RDMA/cxgb4: Use dst parameter in import_ep()

to the 3.3-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     rdma-cxgb4-use-dst-parameter-in-import_ep.patch
and it can be found in the queue-3.3 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From bd61baaf59669accae2720799394a51fecabe5d9 Mon Sep 17 00:00:00 2001
From: Steve Wise <[email protected]>
Date: Fri, 27 Apr 2012 10:24:33 -0500
Subject: RDMA/cxgb4: Use dst parameter in import_ep()

From: Steve Wise <[email protected]>

commit bd61baaf59669accae2720799394a51fecabe5d9 upstream.

Function import_ep() is incorrectly using ep->dst instead of the dst
ptr passed in.  This causes a crash when accepting new rdma connections
becase ep->dst is not initialized yet.

Signed-off-by: Steve Wise <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/infiniband/hw/cxgb4/cm.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -1593,7 +1593,7 @@ static int import_ep(struct c4iw_ep *ep,
                                        n, n->dev, 0);
                if (!ep->l2t)
                        goto out;
-               ep->mtu = dst_mtu(ep->dst);
+               ep->mtu = dst_mtu(dst);
                ep->tx_chan = cxgb4_port_chan(n->dev);
                ep->smac_idx = (cxgb4_port_viid(n->dev) & 0x7F) << 1;
                step = cdev->rdev.lldi.ntxq /


Patches currently in stable-queue which might be from 
[email protected] are

queue-3.3/rdma-cxgb4-always-wake-up-waiters-in-c4iw_peer_abort_intr.patch
queue-3.3/rdma-cxgb4-drop-peer_abort-when-no-endpoint-found.patch
queue-3.3/rdma-cxgb4-use-dst-parameter-in-import_ep.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to