This is a patch against the for-2.25 tree for bug#906 -fail to destroy ipoib rx 
QP 
https://bugs.openfabrics.org/show_bug.cgi?id=906

This problem was discovered during OFED 1.3 testing and a patch has been 
submitted
for the OFED 1.3 tree. 

One can follow the OFED discussions by following the thread at:
http://lists.openfabrics.org/pipermail/ewg/2008-February/005886.html

Roland, can this be queued for 2.6.25?


Signed-off-by: Pradeep Satyanarayana <[EMAIL PROTECTED]>
---

--- a/drivers/infiniband/ulp/ipoib/ipoib_cm.c   2008-02-13 14:14:47.000000000 
-0500
+++ b/drivers/infiniband/ulp/ipoib/ipoib_cm.c   2008-02-13 14:01:55.000000000 
-0500
@@ -861,11 +861,11 @@ void ipoib_cm_dev_stop(struct net_device
                        ipoib_warn(priv, "RX drain timing out\n");
 
                        /*
-                        * assume the HW is wedged and just free up everything.
+                        * assume error and move to rx_reap list
                         */
-                       list_splice_init(&priv->cm.rx_flush_list, &list);
-                       list_splice_init(&priv->cm.rx_error_list, &list);
-                       list_splice_init(&priv->cm.rx_drain_list, &list);
+                       list_splice_init(&priv->cm.rx_flush_list, 
&priv->cm.rx_reap_list);
+                       list_splice_init(&priv->cm.rx_error_list, 
&priv->cm.rx_reap_list);
+                       list_splice_init(&priv->cm.rx_drain_list, 
&priv->cm.rx_reap_list);
                        break;
                }
                spin_unlock_irq(&priv->lock);

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to