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

    RDMA/cxgb4: Drop peer_abort when no endpoint found

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-drop-peer_abort-when-no-endpoint-found.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 14b9222808bb8bfefc71f72bc0dbdcf3b2f0140f Mon Sep 17 00:00:00 2001
From: Steve Wise <[email protected]>
Date: Mon, 30 Apr 2012 15:31:29 -0500
Subject: RDMA/cxgb4: Drop peer_abort when no endpoint found

From: Steve Wise <[email protected]>

commit 14b9222808bb8bfefc71f72bc0dbdcf3b2f0140f upstream.

Log a warning and drop the abort message.  Otherwise we will do a
bogus wake_up() and crash.

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 |    6 ++++++
 1 file changed, 6 insertions(+)

--- a/drivers/infiniband/hw/cxgb4/cm.c
+++ b/drivers/infiniband/hw/cxgb4/cm.c
@@ -2654,6 +2654,12 @@ static int peer_abort_intr(struct c4iw_d
        unsigned int tid = GET_TID(req);
 
        ep = lookup_tid(t, tid);
+       if (!ep) {
+               printk(KERN_WARNING MOD
+                      "Abort on non-existent endpoint, tid %d\n", tid);
+               kfree_skb(skb);
+               return 0;
+       }
        if (is_neg_adv_abort(req->status)) {
                PDBG("%s neg_adv_abort ep %p tid %u\n", __func__, ep,
                     ep->hwtid);


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