[openib-general] [PATCH ofed_1_2] iw_cxgb3: Stop the EP Timer on BAD CLOSE.

Vladimir Sokolovsky vlad at mellanox.co.il
Thu Feb 22 04:13:53 PST 2007


On Wed, 2007-02-21 at 14:46 -0600, Steve Wise wrote:
> Stop the ep timer in ec_status() if the status indicates a
> bad close.
> 
> Signed-off-by: Steve Wise <swise at opengridcomputing.com>
> ---
> 
>  drivers/infiniband/hw/cxgb3/iwch_cm.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/infiniband/hw/cxgb3/iwch_cm.c b/drivers/infiniband/hw/cxgb3/iwch_cm.c
> index e5442e3..d00e5dd 100644
> --- a/drivers/infiniband/hw/cxgb3/iwch_cm.c
> +++ b/drivers/infiniband/hw/cxgb3/iwch_cm.c
> @@ -1635,6 +1635,7 @@ static int ec_status(struct t3cdev *tdev
>  
>  		printk(KERN_ERR MOD "%s BAD CLOSE - Aborting tid %u\n",
>  		       __FUNCTION__, ep->hwtid);
> +		stop_ep_timer(ep);
>  		attrs.next_state = IWCH_QP_STATE_ERROR;
>  		iwch_modify_qp(ep->com.qp->rhp,
>  			       ep->com.qp, IWCH_QP_ATTR_NEXT_STATE,
> 

Applied.


-- 
Vladimir Sokolovsky <vlad at mellanox.co.il>
Mellanox Technologies Ltd.




More information about the general mailing list