[ewg] Re: [PATCH]IPOIB/CM fix for bug# 906 -OFED-1.3

Tziporet Koren tziporet at dev.mellanox.co.il
Thu Feb 14 06:57:44 PST 2008


Pradeep Satyanarayana wrote:
> This patch fixes -fail to destroy ipoib rx QP (https://bugs.openfabrics.org/show_bug.cgi?id=906)
> Hence the usecnt issue reported previously on ehca is solved and allows the qp to be destroyed.
>
> As per Eli's request, I am splitting up the patches. This is first portion of yesterday's patch.
> Tested on ppc64 machines with ehca and mthca.
>
> Signed-off-by: Pradeep Satyanarayana <pradeeps at linux.vnet.ibm.com>
> ---
>
> --- ofa_kernel-1.3_a/drivers/infiniband/ulp/ipoib/ipoib_cm.c	2008-02-11 14:28:47.000000000 -0500
> +++ ofa_kernel-1.3_b/drivers/infiniband/ulp/ipoib/ipoib_cm.c	2008-02-12 17:44:07.000000000 -0500
> @@ -883,9 +883,9 @@ void ipoib_cm_dev_stop(struct net_device
>  			/*
>  			 * assume the HW is wedged and just free up everything.
>  			 */
> -			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);
>
>
>   

We will take this one
Tziporet



More information about the ewg mailing list